Form Section
A long settings form laid out as titled sections.
Each section’s title and description sit beside its fields, stacking on small screens.
FormActions holds the buttons after the last section.
Dependencies
What it's built from and what's built from it in Base, read from the imports in its source.
| Uses | Textprimitive |
|---|---|
| Used by | Nothing yet. |
| Packages | None. |
Installation
Set the project up for Base once first, as Getting started shows. Then add it with the CLI, or by hand.
With the CLI
Manually
Add the components it uses first, listed under Dependencies.
Then copy the source:
API reference
Generated from Base's types. Props marked ours are added here; the rest come from the ui-sdk part it wraps. Every part also accepts its element's native attributes.
FormActions
The form's buttons, after its last section.
Takes the props of a native div.
FormSection
One titled section of fields, ruled off from the next.
- descriptionours
Type ReactNode
- title*ours
Type ReactNode