Form field layout that wires label, description and error ids to the control.
Installation
$ curl -fsSL https://ui.digitexa.com/dx.mjs | node --input-type=module - add fieldAlso adds label, utils, theme and installs @radix-ui/react-slot.
Usage
import { Field, FieldLabel, FieldControl, FieldDescription, FieldError, FieldGroup, useField } from "@/components/ui/field";The Code tab above shows a complete example.