@aurodesignsystem-dev/auro-formkit
v0.0.0-pr1628.17
Published
A collection of web components used to build forms.
Readme
Formkit
Description
auro-formkit is a collection of web components for building forms.
It's a monorepo that contains these components:
auro-checkboxauro-checkbox-group
auro-comboboxauro-counterauro-counter-group
auro-datepickerauro-dropdownauro-formauro-inputauro-menuauro-menuoption
auro-radioauro-radio-group
auro-select
Use cases
1. User accounts
- Sign up and login forms
- Email and password validation
2. Checkout and payments
- Collect shipping and billing info
- Use autofill and validation to reduce errors
3. Booking and scheduling
- Select dates and times
- Prevent invalid selections, such as past dates
4. Search and filters
- Search inputs with suggestions
- Filters, such as price ranges or categories
5. Feedback and surveys
- Collect ratings, choices, and comments
- Require answers where needed
6. Calculators and dynamic forms
- Show real-time results, such as prices and totals
7. Multi-step forms
- Break long forms into smaller steps
8. Mobile-friendly input
- Use input types that trigger the right keyboard
9. Accessible forms
- Proper labels and grouped inputs
- Built-in error handling
10. Built-in validation
- Set rules with attributes, such as
requiredandpattern, instead of writing custom JavaScript
Getting started
NPM installation
$ npm i @aurodesignsystem/auro-formkitGetting started
Each component has its own getting started guide:
