Origin UI

Checkbox

Forms 2

About

Enhanced checkbox

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";
import { Label } from "@/components/ui/label";
import { useId } from "react";

function Component() {
  const id = useId();
  return (
    <div className="flex items-center justify-between gap-2">
      <Checkbox id={id} className="order-1" />
      <Label htmlFor={id}>Right aligned checkbox</Label>
    </div>
  );
}

export { Component };

Dependencies

More by Origin UI

View all
  • Dialog

    Dialog

    1.3K
  • Avatar

    Avatar

    1K
  • useImageUpload

    useImageUpload

    946
  • usePagination

    usePagination

    634
  • Popover

    Popover

    389
  • Button

    Button

    379
  • Command

    Command

    343
  • Calendar [React Day Picker]

    Calendar [React Day Picker]

    270

More in Forms

View all
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    88
  • Premium Auth

    Premium Auth

    558
  • Login 1

    Login 1

    62
  • Book A Demo 3

    Book A Demo 3

    98
  • Authentication Card

    Authentication Card

    51
  • Form

    Form

    138
  • SignInPage

    SignInPage

    738