panelui

Field

Component

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>
  );
}

Dependencies

More by panelui

View all
  • Spinner

    Spinner

    7
  • Flow

    Flow

    4
  • Hex Chart

    Hex Chart

    2
  • Treemap Chart

    Treemap Chart

    1
  • Soundwave

    Soundwave

    1
  • Share

    Share

    1
  • Scatter Chart

    Scatter Chart

    1
  • Pyramid Chart

    Pyramid Chart

    1