Home

Awesome

Antwerp UI - Angular Components

build ngx-components-status

Introduction

Antwerp City Platform as a Service User Interface (Antwerp UI) is a component interface library for building user interfaces and responsive web apps. It's designed to provide developers with functionality and UI/UX patterns that matches the Antwerpen styleguide.

Ecosystem

This library is part of Antwerp UI.

NameFrameworkStatus
JavascriptES5+antwerp-ui-js-github
AngularAngular 15+antwerp-ui-angular-github
ReactReact 16+antwerp-ui-react-github

Getting Started

Running the project locally

npm i
npm run build:all
npm start

Troubleshooting

Install Antwerp UI

npm i @acpaas-ui/ngx-utils
npm i @acpaas-ui/ngx-forms
// Other necessary libs for your app...

Edit styles.scss to import the branding look & feel.

@import url('https://cdn.antwerpen.be/core_branding_scss/6.6.6/main.min.css');

You can also modify index.html to reference the favicons for the city of Antwerp.

Then start using the components in your pages. Look at the component documentation below to learn how to use each component.

You can also add a branding-compatible flexbox grid layout system:

@import url('https://cdn.antwerpen.be/core_flexboxgrid_scss/3.0.0/flexboxgrid.min.css');

Note that you are free to use your own grid, as long as it meets our branding guidelines.

To learn more about using the branding look & feel, check the core branding guide. Note that the core branding contains the Antwerp logo and fonts, which are subject to a usage restriction. For use outside of apps for the city of Antwerp you can use Digipolis branding instead.

Documentation

Check out our live examples or visit the Antwerp UI site.

This library contains the following components:

NameDescriptionURL
ngx-avatarUser avatar iconDocumentation
ngx-calendarCalendar to select datesDocumentation
ngx-code-snippetSnippet of source codeDocumentation
ngx-contextSet meta tags for SEODocumentation
ngx-flyoutReveal additional contentDocumentation
ngx-formsAssorted form fieldsDocumentation
ngx-layoutAssorted page layout componentsDocumentation
ngx-logoLogo iconDocumentation
ngx-leafletLeaflet-based mapDocumentation
ngx-paginationPagination controlDocumentation
ngx-progress-barProgress bar controlDocumentation
ngx-selectable-listList control with selectable itemsDocumentation
ngx-tableInteractive tableDocumentation
ngx-utilsAssorted helpersDocumentation
ngx-user-menuUser Menu providing login/logoutDocumentation

Testing

Test automation

If you want to start automating your tests, you can have a look at our Test Automation Guide for some tips on how to use data-attributes to keep your tests stable and maintainable.

Cross Browser Testing

We are using Browserstack Live to make sure that our components work correctly on all major browsers and platforms.<br/> The people at Browserstack kindly offer an unlimited testing program, free of charge for open source projects so a big thanks to them!

<a href="http://browserstack.com/"><img width="250" src="https://cloud.githubusercontent.com/assets/7864462/12837037/452a17c6-cb73-11e5-9f39-fc96893bc9bf.png" alt="Browserstack logo"></a>

Questions

For questions and support please ask a question on the #antwerp-ui slack channel. If you're not yet a member of our DigAnt Café slack community, you can easily join here.

If you stumble across a bug or missing feature, feel free to report an issue. Please fill out the issue template completely when opening an issue. This will help us get to your issue sooner.

Changelog

Detailed changes for each release are documented in the changelog.

Contributing

Your contributions are most welcome as pull requests, both code changes and documentation updates. However, to keep a high quality standard, please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to Antwerp UI!

Support

Jasper Van Proeyen (jasper.vanproeyen@digipolis.be)

License

MIT

Copyright (c) 2016-present, Digipolis

<!-- Generic Links --> <!-- Github URL --> <!-- Github Version Badge --> <!-- Github Actions Badge --> <!-- NPM Package links --> <!-- NPM Version Badge -->