Key Lock Switch

Motion Components · Vol. 1

Component

Key Lock Switch

Turn the key and a real 3D vault door unlocks: the key twists, the deadbolt retracts, the LED goes green and the door swings open on a room of golden light. Lock it and the door slams shut with sparks and a shake.

Variants

Sizes and states, all built from the same markup.

Small
Default
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility