Zudo Sg — Styleguide

Button

Primary action control with three variants and three sizes. Renders <button>, or <a> when href is set.

Actions

Usage

import { Button } from "@zudo-sg/ui";

<Button variant="primary" onClick={save}>Save</Button>
<Button variant="secondary" href="/docs">Docs</Button>
As link
Block
Disabled
Sizes

Controls

Variants

Controls