Form

Group fields with labels, hints and errors.

components/ui/field.tsx

Shown on receipts and the storefront.

Installation

npx betterone-ds add field

Props

PropTypeDefault
Field orientation"vertical" | "horizontal""vertical"
FieldErrorchildren—

Accessibility

  • Link hints and errors to the input so screen readers read them.