Toggle Lock Shake

Unlimited

A switch that can be locked: clicking it then shakes its head, rattles the padlock in the thumb and pops up the reason it cannot change.

toggleswitchlockeddisabledshake

Installation

Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/toggle-lock-shake.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.

Build it with AI

Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.

More toggles & switches

All 7 toggles & switches →