About
A form control with its label, a line of help and its error, wired to each other.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Field to your project and fits it to your theme.
Code
How Field is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Field } from '@/components/ui/panel-field';
import { Input } from '@/components/ui/input';
export default function FieldOverview() {
return (
<Field className="max-w-xs">
<Field.Label>Company name</Field.Label>
<Input placeholder="Larkspur Joinery" />
<Field.Description>Printed on every invoice you send.</Field.Description>
</Field>
);
}








