Field
Field allows you to create a form with a label, input, description, and error message.
Set the desired amount
Components API
This component is built on top of Headless UI Input. Visit the docs for the built in props
Prop | Default | Description |
children | — | React.ReactNode Children to be rendered inside the component |
className | — | string Class names to add to wrapper component |
layout | column | 'column' | 'row' The layout of the field. Use row for small controls like Switch or Checkbox. |
Last updated on