Isaiah

Primitive Checkbox

Forms 2

About

A styled checkbox with a warm accent color and soft inset shadow, built on top of the standard checkbox primitive for forms and settings toggles.

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

Code

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

Usage.tsx

"use client";

import * as React from "react";
import Checkbox from "@/components/ui/primitive-checkbox";

export default function CheckboxDemo() {
  const [checked, setChecked] = React.useState<boolean>(true);

  return (
    <div className="flex items-center gap-2">
      <Checkbox
        id="terms"
        checked={checked}
        onCheckedChange={(value) => setChecked(!!value)}
      />
      <label
        htmlFor="terms"
        className="text-sm font-medium leading-none text-foreground"
      >
        Accept terms and conditions
      </label>
    </div>
  );
}

More by Isaiah

View all
  • Agent Plan

    Agent Plan

    2.3K
  • Voice Powered Orb

    Voice Powered Orb

    1.6K
  • Video Scroll Hero

    Video Scroll Hero

    1.5K
  • Reveal Text

    Reveal Text

    1.1K
  • Portfolio Gallery

    Portfolio Gallery

    1K
  • Leads Data Table

    Leads Data Table

    983
  • Message Dock

    Message Dock

    881
  • Ruler Carousel

    Ruler Carousel

    686

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52