About
A form field that pairs a label with a muted "(optional)" hint and a text input, marking the field as not required.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Label with Optional Indicator to your project and fits it to your theme.
Code
How Label with Optional Indicator is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Pattern from "@/components/ui/v-label-5";
export default function Default() {
return (
<div className="flex min-h-64 w-full items-center justify-center p-8">
<Pattern />
</div>
);
}
















