Skip to content
Variants
<Button>Deploy</Button>
Sizes
States
Depth and interaction
<Button depth="raised">Raised</Button>
<Button depth="flush" variant="outline">Flush</Button>
{/* Pressed styling comes from real interaction. */}

API Reference

PropTypeDefaultDescription
variantstringdefaultControls the button styling: default, destructive, destructive-outline, ghost, link, outline, secondary.
sizestringdefaultControls the button size.
loadingbooleanfalseShows a spinner and disables the button while true.
renderReact.ReactElement-Render as a different element (e.g. Link).

Import

import { Button } from "@uxome/ui";