Meridian/Components · Buttons
Buttons
Ink acts.
Cobalt converts.
In product UI the primary button is ink — it reads as confident without shouting. Cobalt is reserved for the one conversion moment on a page (sign up, deploy, upgrade). One primary per view.
In @meridian/ui · copy how to use itButtonIconButtonButtonGroupCopyButtonKbd
| Default | Hover | Focus | Disabled | With icon / key | |
|---|---|---|---|---|---|
| PrimaryMain action | |||||
| AccentConversion | |||||
| SecondaryEverything else | |||||
| GhostToolbars, rows | |||||
| DangerOutlined · solid only to confirm |
Sizes
DoLabel with a verb + object: "Deploy branch", not "OK".
DoPut the primary action on the right of a group.
DoKeep danger outlined. The confirm inside the dialog is the only solid red.
Don'tPlace two accent buttons side by side, or use danger for anything reversible.
Don'tDisable a button without saying why — show a tooltip or inline reason.
Meridian Design Language15