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)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
|
|
@ -1,37 +0,0 @@
|
|||
---
|
||||
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue