mohammed-saif-ibrahim

Checkbox

Forms

About

A labeled checkbox built on Radix UI's primitive with correct checked/unchecked/indeterminate semantics, optional label and helper description text.

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

Code

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

Usage.tsx

import { Checkbox } from "@/components/ui/checkbox";

export default function CheckboxDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center bg-background p-8">
      <Checkbox
        label="Accept terms and conditions"
        description="Required to continue"
      />
    </div>
  );
}

Dependencies

More by mohammed-saif-ibrahim

View all
  • Chart

    Chart

    5
  • Select

    Select

  • Filter Builder

    Filter Builder

  • File Upload

    File Upload

  • Command Palette

    Command Palette

  • Activity Feed

    Activity Feed

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Form

    Form

    16
  • Login 1

    Login 1

    53
  • Book A Demo 3

    Book A Demo 3

    89
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    48
  • Login Card

    Login Card

    6