Basics
Buttons, inputs, toggles and cards that feel finished · 9 lessons

Lesson 1 of 9 · Toggle
Black and white yin-yang switch
Black and white balls swap places inside a capsule as the switcher slides, a crisp two-tone way to flip a mode.
When to use it: Theme switches and minimalist monochrome sites.
How to tune it: Set --switch-width (3.5em), --left-ball-color (black) and --right-ball-color (white); the height follows the width.

Lesson 2 of 9 · Button
Hold Confirm Button
A clear shape, one strong colour and a short press response make it feel physical.
When to use it: Primary actions, calls to action and toolbars.
How to tune it: Change the radius, the padding and the length of the hover transition.

Lesson 3 of 9 · Card
LED board card
Letters and numbers are drawn from a grid of small dots, some lit and some dim with a seeded flicker, like a stadium LED sign.
When to use it: Live stats, scoreboards, event countdowns and retro displays.
How to tune it: Change the charMap glyphs, the text shown, the lit and unlit dot colours and the seededRandom flicker.

Lesson 4 of 9 · Notification
Notification by Shadcn Space
One icon, one sentence and a clear colour tell people what happened.
When to use it: Saved messages, errors, warnings and short confirmations.
How to tune it: Change the colour per status, the radius and the entry motion.

Lesson 5 of 9 · Button
Swipe reveal button
On hover a black layer slides up from below over the orange face, swapping to a second label in 300ms, a confident and clean motion.
When to use it: Get access, sign up and buy buttons on landing pages.
How to tune it: Set firstText and secondText, and the firstClass and secondClass colours (orange and black by default), plus the duration-300 timing.

Lesson 6 of 9 · Toggle
Red glossy capsule switch
A dark recessed track holds a glossy red radial knob with a warm glow, like a hardware switch on a console.
When to use it: Retro or game-style settings and on-air or record toggles.
How to tune it: Change the 115px by 42px size, the rgb(255,113,113) radial gradient and the orange glow box-shadow.

Lesson 7 of 9 · Card
Split-Flap Display
Generous padding, soft corners and a single accent keep the content in front.
When to use it: Feature lists, profiles, product tiles and dashboards.
How to tune it: Adjust the padding, the shadow depth and the accent colour.

Lesson 8 of 9 · Notification
Gradient border congrats notification
A white rounded capsule with a heart icon and two lines of text sits inside an animated gradient border that frames the good news.
When to use it: Level-ups, rewards and positive confirmations.
How to tune it: Set --borderSize (3px), the gradient colours behind the border, the 255px width and the 25px radius.

Lesson 9 of 9 · Checkbox
Blue glow outline checkbox
A dark-outlined square turns blue on hover and gains a soft blue glow when checked, with a springy 0.4s curve.
When to use it: Dark forms, task lists and preference panels.
How to tune it: Change the #0974f1 blue, the 20px glow shadow, the 1.3em size and the cubic-bezier(0.23,1,0.320,1) timing.