About
ReUI Field with the first 10 official ReUI examples, preserved from the MIT-licensed source registry.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds ReUI Field to your project and fits it to your theme.
Code
How ReUI Field is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Checkbox } from "@/components/ui/reui-field-utils/checkbox"
import {
Field,
FieldContent,
FieldDescription,
FieldGroup,
FieldLegend,
FieldSet,
FieldTitle,
} from "@/components/ui/reui-field"
export default function Pattern() {
return (
<div className="mx-auto w-full max-w-xs">
<FieldGroup>
<FieldSet>
<FieldLegend variant="label">Access Permissions</FieldLegend>
<FieldDescription>
Configure what this role can access.
</FieldDescription>
<FieldGroup className="gap-4">
<Field orientation="horizontal">
<Checkbox id="perm-read" defaultChecked />
<FieldContent>
<FieldTitle>Read</FieldTitle>
<FieldDescription>
View resources and data. Cannot make changes.
</FieldDescription>
</FieldContent>
</Field>
<Field orientation="horizontal">
<Checkbox id="perm-write" defaultChecked />
<FieldContent>
<FieldTitle>Write</FieldTitle>
<FieldDescription>
Create and edit resources. Requires read access.
</FieldDescription>
</FieldContent>
</Field>
<Field orientation="horizontal">
<Checkbox id="perm-delete" />
<FieldContent>
<FieldTitle>Delete</FieldTitle>
<FieldDescription>
Permanently remove resources. This action is irreversible.
</FieldDescription>
</FieldContent>
</Field>
<Field orientation="horizontal">
<Checkbox id="perm-admin" disabled />
<FieldContent>
<FieldTitle>Admin</FieldTitle>
<FieldDescription>
Full access to all settings. Only available to owners.
</FieldDescription>
</FieldContent>
</Field>
</FieldGroup>
</FieldSet>
</FieldGroup>
</div>
)
}







