Skip to content
On this page

Forms

Defining Forms

You're free to define your Forms however you like it, since this also changes heavily in-between different apps.

Generally, you should enable Validation (by passing a field prop to any form component), show the state to the user (by using things like loading states from an Action) and otherwise follow best practices that are unspecific to Spire.

All the Basic Form Components are part of Spire, feel free to adapt them to your needs:

  • Input
  • Select (w/ optional Typeahead)
  • Toggle
  • Checkbox
  • Button