FormActions
The bar that closes a form.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
The bar that closes a form.
Accessibility
Always render a visible <label> (the label prop wires htmlFor/id for you). Errors set aria-invalid and are announced via aria-describedby. Required fields expose aria-required.
Install and import
npx shadcn@latest add @prism/form-actions
import { FormActions } from '@/components/prism/FormActions';
In a no-build prototype, read it from the bundle instead: const { FormActions } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
status | React.ReactNode | — | Start-aligned status node (often an AutosaveIndicator). |
align | "start" | "end" | "between" | — | |
sticky | boolean | — | Pin to the bottom of a scrolling form. |