Component packs › Tactile › Gel Checkbox
Squish it and color floods in from your finger, the check draws itself, droplets splash and the box wobbles like jelly.
Gel Checkbox is a checkbox from Tactile, a component pack with 6 components: Controls that behave like real materials. Price: $2 for the whole pack.
Built with: press-point flood, jelly wobble, indeterminate + strike-through.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | ||
checked | boolean | ||
indeterminate | boolean | Shows a dash ("some selected"). Cleared when the user clicks. | |
strike | boolean | Draw a line through the label when checked (to-do lists). | |
disabled | boolean | ||
name | string | Form field name/value, passed to the native input. | |
value | string | ||
onChange | (checked: boolean) => void | ||
autoplay | number | false | Showcase mode: toggles itself every N ms while visible. |
readonly checked: booleansetChecked(checked: boolean): voidsetIndeterminate(indeterminate: boolean): voidsetDisabled(disabled: boolean): voiddestroy(): voidimport GelCheckbox from './GelCheckbox';
<GelCheckbox />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Micro-interactions.