Form.
Native semantic form and consistent action row.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | No | — | — | Form elements and optional FormActions. |
onSubmit | FormEventHandler<HTMLFormElement> | No | — | — | Native form submit callback. |
action | string | No | — | — | Native HTML form action URL. |
method | "get" | "post" | "dialog" | No | get | get · post · dialog | Native submission method. |
className | string | No | — | — | Additional styling. |