Button
Dark Theme Preview
Demonstrates variant-level theme override previewing in dark mode.
Preview
{% button "Secondary Dark" variant="secondary" %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
label
|
str
|
Required | — | — | The button label. |
variant
|
str
|
Optional |
primary
|
primary
secondary
danger
|
Variant modifier |
disabled
|
bool
|
Optional | — | — | Renders the button as disabled. |
Select variant preset
Background colour
Viewport width
Zoom level
{% button "Click Me" variant="primary" %}
<button class="btn secondary" >
Secondary Dark
</button>