asw/site/content/docs/components/dialog.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

934 B

title description type weight date tags ai-disclosure ai-model ai-provider
Dialog Native HTML dialog element styled by ASW. docs 36 2026-04-11
components
dialog
modal
generated claude-sonnet-4-6 Anthropic

ASW styles the native <dialog> element — no JavaScript modal libraries required. Call dialog.showModal() to open it. The ::backdrop pseudo-element receives a semi-transparent overlay automatically.

Inline Demo

Dialog title

This is a native <dialog> element. ASW styles the backdrop and container automatically.