FormLayout
patternForm layout composed from Card, Stack, Row, Text, Input, Textarea, Select, Divider, and Button. Stacked form with section grouping, side-by-side fields using Row, dividers between sections, and a submit/cancel footer.
Form layout
Stacked form with sections, side-by-side fields, and action footer.
Section grouping
Multiple form sections with headings and dividers.
Usage
Installation
API Reference
FormLayout props — * required
| Prop | Type | Default | Description |
|---|---|---|---|
Card variant | "ghost" | "outline" | "filled" | "elevated" | "elevated" | Elevation level of the form card. |
Stack as | "form" | "div" | "form" | Render as a form element for native submission. |
Input label | string | — | Field label. |
Input placeholder | string | — | Placeholder text. |