Components•Form
Components•Form
Form
A compact form pattern for editing a small set of account or profile fields.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-formHow to use
import { BjorkFormPreview } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Form primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
...propscomponent propsPass through the normal props for this primitive while the Bjork wrapper handles the visual treatment.
Profile form
Use as the base rhythm for settings and account forms.
<BjorkFormPreview />