Component packs › Fastener › Buckle Checkbox
The tongue slides in, its prongs squeeze through the mouth and spring out into the side windows with a click.
Buckle Checkbox is a checkbox from Fastener, a component pack with 6 fastener controls: Controls that fasten like clothing: zips that mesh, studs that snap, hook-and-loop that tears, buckles that click. Price: $2 for the whole pack.
Built with: flexing prongs, squeeze to release, webbing straps.
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 |
|---|---|---|---|
checked | boolean | ||
disabled | boolean | ||
label | string | "Keep me signed in" | Text beside the buckle; also its accessible name. Default "Keep me signed in". |
onChange | (checked: boolean) => void |
readonly checked: booleansetChecked(checked: boolean, silent?: boolean): voiddestroy(): voidimport BuckleCheckbox from './BuckleCheckbox';
<BuckleCheckbox />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.