asw/archive/site/content/docs/components/forms.md
exe.dev user e47a9f4401 asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/
- 2.2: site/ -> archive/site/
- 2.3: src/lab/ -> archive/lab/
- 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
2026-06-07 10:39:21 +02:00

37 lines
913 B
Markdown

---
title: "Forms"
description: "Form element styling in ASW — inputs, selects, textareas, and labels."
type: docs
weight: 34
date: 2026-04-11
tags: ["components", "forms", "inputs"]
ai-disclosure: "generated"
ai-model: "claude-sonnet-4-6"
ai-provider: "Anthropic"
---
All standard form elements are styled out of the box. Labels, inputs, selects, and textareas share consistent sizing and focus rings that respect the accent token.
## Inline Demo
<div data-demo>
<form onsubmit="return false">
<label>
Name
<input type="text" placeholder="Jane Smith">
</label>
<label>
Role
<select>
<option>Agent</option>
<option>Human</option>
<option>Both</option>
</select>
</label>
<label>
Notes
<textarea rows="3" placeholder="Optional notes…"></textarea>
</label>
<button type="submit">Submit</button>
</form>
</div>