Rushil Dhinoja

Animate Checkbox

Forms 46

About

An animated checkbox component with smooth transitions and hover effects built on Radix UI primitives.

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

Code

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

Usage.tsx


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

export default function DemoOne() {
  return <div className="flex flex-col gap-6">
      <div className="flex items-center gap-2">
        <Checkbox />
        <div><a className='underline pointer-cursor' target="_blank" href="https://moleculeui.design" variant='link'>Checkout Molecule UI</a></div>
      </div>

      <div className="flex items-center gap-2">
        <Checkbox defaultChecked />
        <div><a className='underline pointer-cursor'  target="_blank" href="https://moleculeui.design" variant='link'>Checkout Molecule UI</a></div>
      </div>

      <div className="flex items-center gap-2">
        <Checkbox
          defaultChecked
          className="data-[state=checked]:border-blue-600 data-[state=checked]:bg-blue-600 data-[state=checked]:text-white "
        />
        <div>Enable Notification</div>
      </div>

    </div>;
}

Dependencies

More by Rushil Dhinoja

View all
  • Morphing Square

    Morphing Square

    442
  • Voice Input

    Voice Input

    316
  • Warp Dialog

    Warp Dialog

    270
  • Orbital Loader

    Orbital Loader

    211
  • Bouncing Dots

    Bouncing Dots

    195
  • Vignette Grid Background

    Vignette Grid Background

    192
  • Wave Loader

    Wave Loader

    133
  • Discussion

    Discussion

    85

More in Forms

View all
  • Contact Card

    Contact Card

    1K
  • Premium Auth

    Premium Auth

    525
  • Form

    Form

    16
  • Card Studio

    Card Studio

    41
  • Login 2

    Login 2

    7
  • Book A Demo 3

    Book A Demo 3

    90
  • Book A Demo 1

    Book A Demo 1

    74
  • HeroUI Field Error

    HeroUI Field Error

    10