asw/site/content/docs/components/buttons.md
Ludo fe8ddd6153
feat: add [data-demo] attribute, purge all inline CSS from docs
New data-demo attribute for demo blocks in documentation.
Replaced 16 files worth of inline style="" wrappers with <div data-demo>.
Only remaining style= is charts --size data injection (legitimate).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:53:59 +02:00

22 lines
611 B
Markdown

---
title: "Buttons"
description: "Button styles in ASW — primary, secondary, and danger variants."
type: docs
weight: 33
date: 2026-04-11
tags: ["components", "buttons", "forms"]
ai-disclosure: "generated"
ai-model: "claude-sonnet-4-6"
ai-provider: "Anthropic"
---
`<button>` elements are styled by default. Use `data-variant` to select secondary or danger appearances without adding utility classes.
## Inline Demo
<div data-demo>
<button>Primary</button>
<button data-variant="secondary">Secondary</button>
<button data-variant="danger">Danger</button>
<button disabled>Disabled</button>
</div>