component

Button

A themed button or link with optional tooltip.

Example

ts
<Button variant="outline" size="sm" class="post-cards__select">
  Select
</Button>

How it works

Variant and size default to default; see ButtonVariant and ButtonSize for choices. class adds an application class. href renders an anchor; disabled anchors drop href and keyboard focus.

Full signature

Related guides