Skip to content

Component 028Controls

Gooey Checkbox

A quiet gray ring bursts into a soft blue splash, pulls its droplets together, and draws a crisp white check.

  • Next.js
  • Tailwind CSS
  • TypeScript
Click the checkbox or use Tab and Space.
Loading preview…
Live interactive preview

Quick start

Make it yours.

Save gooey-checkbox.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.

TSXapp/page.tsx
import GooeyCheckbox from "@/components/ui/gooey-checkbox";

export default function Example() {
  return <GooeyCheckbox />;
}

Behind the interaction

The details that make it work.

Designed to explore, ready to adapt.

Fluid by design

Six droplets stretch and merge around the circular checkbox as the check draws in.

A proper checkbox

A native input provides keyboard behavior, labels, form values, and validation.

A small portable detail

SVG artwork and scoped animation styles are included in one file, with reduced-motion support.

Keep exploring

View all components