Basics

Buttons, inputs, toggles and cards that feel finished · 6 lessons

Lesson 1 of 6 · Button

Liquid metal

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 2 of 6 · Input

Magnetic select

A visible label, a calm border and a clear focus state guide typing.

When to use it: Search, sign-in and short text fields.

How to tune it: Adjust the height, the border colour and the focus glow.

Lesson 3 of 6 · Toggle

Marble glass toggle

A deep inset-shadow track and a glossy knob make the switch look carved and physical, like a marble rolling in a groove.

When to use it: Dark dashboards and settings panels that want a tactile, premium feel.

How to tune it: Everything scales from --round (4rem); --p sets the padding, and --pure-black and --pure-white drive the shadow and knob colours.

Lesson 4 of 6 · Card

Professional pricing plan card

A big price badge, a bold plan title and a ticked feature list with teal round icons read top to bottom in one calm column, so the offer is easy to scan.

When to use it: Pricing pages, upgrade dialogs and plan comparison sections.

How to tune it: Change the teal icon colour #1FCAC5, the .pricing badge padding and font size, and the 0.75rem gap between feature rows.

Lesson 5 of 6 · Notification

Toast stack

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 6 of 6 · Checkbox

Play pause ring checkbox

Checking it spins a tomato-red conic ring all the way round in 700ms while the play icon morphs to pause, a small reward for each click.

When to use it: Media players, audio previews and podcast cards.

How to tune it: Tune the #ff6347 ring colour, the 700ms borderAnimate duration and the 80px circle size.

Motion → All paths