Button
Trigger an action. Brand for the one primary action per view, default for everything else.
Zynactra
Zynactra adds
variant="brand" and the ripple prop (default true; the theme decides whether it shows) on top of upstream.Usage
import { Button } from "@zynactra/ui/button"<Button variant="outline">Button</Button>Examples
Variants
Sizes
Ripple
Guidelines
- One
brandbutton per view. If two actions compete, one of them isdefault. linkis for inline navigation in text. It never ripples.destructiveis solid red with an icon or a confirm step; never the only signal.- Icons inside buttons are 16px and get
data-icon="inline-start"or"inline-end"for tighter padding.