Rushil Dhinoja

Animate Checkbox

Forms 54

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

    475
  • Voice Input

    Voice Input

    345
  • Warp Dialog

    Warp Dialog

    287
  • Vignette Grid Background

    Vignette Grid Background

    219
  • Orbital Loader

    Orbital Loader

    216
  • Bouncing Dots

    Bouncing Dots

    201
  • Wave Loader

    Wave Loader

    135
  • Discussion

    Discussion

    86

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19