About
A form label showing a required-field asterisk next to an info tooltip, paired with its input for building accessible required form fields.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Required Field Label to your project and fits it to your theme.
Code
How Required Field Label is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import LabelRequired from "@/components/ui/label-required";
export default function LabelRequiredDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<LabelRequired />
</div>
);
}
















