Variants
Most components ship with Large and Small variants. Both share the same content and purpose, but differ in interaction and where they belong on the canvas.
Large and Small
Variant | Placement | Interaction |
|---|---|---|
Large | Desktop placements (hero, section CTAs) | Hover |
Small | Mobile and touch placements | Pressed |
Hover does not exist on touch devices, which is why Small variants use Pressed instead.
What a variant is for
Variants cover internal states of the same component: size, hover, pressed, selected, loading. They stay close to the base in look. Radically different designs live as separate components under the same category, not as variants.