Sean Hello

Label

Forms

About

Provides a text label for form elements to improve clarity and accessibility.

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

'use client';

import { useId } from 'react';
import { Label } from '@/components/ui/label';
import { Checkbox } from '@/components/ui/checkbox';

export default function LabelDemo() {
  const id1 = useId();

  return (
    <div>
      <div className="flex items-center space-x-2">
        <Checkbox id="terms" />
        <Label htmlFor="terms">Accept terms and conditions</Label>
      </div>
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.2K
  • Line Charts 9

    Line Charts 9

    625
  • Alert

    Alert

    490
  • Line Charts 6

    Line Charts 6

    376
  • Scroll Area

    Scroll Area

    373
  • Area Charts 1

    Area Charts 1

    368
  • Area Charts 2

    Area Charts 2

    302
  • Navigation Menu

    Navigation Menu

    292

More in Forms

View all
  • Premium Auth

    Premium Auth

    496
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    45
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    16
  • Card Studio

    Card Studio

    41
  • Book A Demo 3

    Book A Demo 3

    83