Jason Mohab-Ali

Label

Forms

About

Form label component with an optional required asterisk in brand-red. Standard <label> forwarding props plus a required boolean prop. Pairs with input/textarea via htmlFor.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Label to your project and fits it to your theme.

Code

How Label is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Label from '@/components/ui/label'

export default function Demo() {
  return (
    <div className="flex flex-col gap-4 p-8 bg-slate-50 max-w-md">
      <Label required htmlFor="demo-name">
        Naam
      </Label>
      <Label htmlFor="demo-email">E-mailadres</Label>
      <Label required htmlFor="demo-phone">
        Telefoonnummer
      </Label>
    </div>
  )
}

Dependencies

More by Jason Mohab-Ali

View all
  • Alqemist Interactive Demo

    Alqemist Interactive Demo

    9
  • Qreatify Super Agent Card

    Qreatify Super Agent Card

    5
  • Alqemist Security

    Alqemist Security

    4
  • Alqemist Hero

    Alqemist Hero

    4
  • Alqemist How It Works

    Alqemist How It Works

    3
  • Alqemist Cta

    Alqemist Cta

    2
  • What Saa SApp Shell

    What Saa SApp Shell

    2
  • FirstReply Product Detail flow

    FirstReply Product Detail flow

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7