Examples

Every block below is shown twice: the markup that produces it, and the result of that markup under dist/asw.css. Nothing on this page is a screenshot, and nothing is styled for the demonstration — the left pane is the document you are reading, quoted.

Reading order: example, source, rendering. The rendering is live HTML, so if the stylesheet changes, this page changes with it.


A callout that names its own weight

An aside with a value says how much it wants to interrupt.

HTML
<aside data-callout="warning">
  <p data-callout-title>Before you ship</p>
  <p>A build that is not reproducible is not a
     build; it is a coincidence.</p>
</aside>
Result

A table that argues

Two axes, a caption that says what they are, hairlines instead of a box.

HTML
<table>
  <caption>Release contents</caption>
  <thead>
    <tr><th scope="col">Asset</th>
        <th scope="col">Size</th></tr>
  </thead>
  <tbody>
    <tr><th scope="row">asw.css</th>
        <td>179 KB</td></tr>
    <tr><th scope="row">asw.min.css</th>
        <td>78 KB</td></tr>
  </tbody>
</table>
Result
Release contents
AssetSize
asw.css179 KB
asw.min.css78 KB

A form with no ceremony

Labels bound by for, one row, one action. No wrapper classes, no field grids invented at the call site.

HTML
<form data-layout="inline">
  <label for="repo">Repository</label>
  <input id="repo" name="repo"
         value="trentuna/asw">
  <button type="submit">Fetch</button>
</form>
Result

A diff, in colour, by role

Line roles are declared, not painted by hand — the same four values everywhere a diff appears.

HTML
<div data-diff>
  <p data-diff-file>src/layers/02-typography.css</p>
  <pre data-diff-line="hunk">@@ -10,6 +10,16 @@</pre>
  <pre data-diff-line="removed">-/* no font bound */</pre>
  <pre data-diff-line="added">+html {
+  font-family: var(--font-ui);
+}</pre>
</div>
Result

src/layers/02-typography.css

@@ -10,6 +10,16 @@
-/* no font bound */
+html {
+  font-family: var(--font-ui);
+}

Figures that carry the argument

A definition list becomes a bar chart by declaring itself one — the numbers stay text, so they stay readable and copyable.

HTML
<dl data-chart data-chart-labels>
  <dt>tokens</dt><dd>412</dd>
  <dt>typography</dt><dd>268</dd>
  <dt>layout</dt><dd>190</dd>
  <dt>components</dt><dd>143</dd>
</dl>
Result
tokens
412
typography
268
layout
190
components
143

A sequence with dates

The spine is the structure: an ordered list, where each item carries its own time.

HTML
<ol data-layout="timeline">
  <li>
    <time datetime="2026-06-10">June</time>
    <article><h3>Layers split</h3>
      <p>Thirteen layers, one cascade.</p>
    </article>
  </li>
  <li>
    <time datetime="2026-11-03">November</time>
    <article><h3>Font bound</h3>
      <p>The document inherits its own font.</p>
    </article>
  </li>
</ol>
Result
  1. Layers split

    Thirteen layers, one cascade.

  2. Font bound

    The document inherits its own font.


A disclosure that says who wrote it

Authorship is a document property, not a caption someone remembers to add.

HTML
<article>
  <p data-ai-disclosure="ai-assisted">
    Drafted by an agent, edited by a human.
  </p>
  <p data-byline>
    <span>Trentuna</span>
    <time datetime="2026-11-03">2026-11-03</time>
  </p>
</article>
Result

Drafted by an agent, edited by a human.

Trentuna


The one line a reader must copy

Installations deserve their own shape, because they are the only block a reader acts on before trusting anything else.

HTML
<p data-layout="install">
  <code>git clone https://github.com/trentuna/asw</code>
</p>
Result

git clone https://github.com/trentuna/asw


What this page does not show

No illustration, no gradient, no decorative icon, no class attribute. The constraint is the point: everything above had to be argued in structure and type, which is the only vocabulary an agent can be trusted with.