--- title: "Components" description: "ASW's data-attribute vocabulary — callouts, tasks, session blocks, wikilinks, and layout primitives." type: docs weight: 30 date: 2026-04-09 tags: ["components", "css", "reference"] ai-disclosure: "generated" ai-model: "claude-sonnet-4-5" ai-provider: "Anthropic" --- ## Callouts Inline advisory blocks. The `data-callout` attribute sets the semantic type; the stylesheet handles colour, icon, and layout. ```html
Tip

Use data-callout instead of inventing class names.

Warning

Overriding Open Props palette tokens breaks theming.

Error

This file exceeds the token budget.

Note

Both note and info are valid values.

``` {{< callout tip >}} In Hugo, use the `callout` shortcode: `{{}}...{{}}` {{< /callout >}} Valid values: `tip`, `note`, `info`, `warning`, `error`. --- ## Tasks Render task lists with semantic state. Agents write task lists naturally; `data-task` on the `
  • ` adds the visual state indicator. ```html ``` Valid values: `done`, `wip`, `blocked`, `todo`. --- ## Session blocks Mark a block as a session record with `data-session`. Optional `data-mode` indicates autonomous vs. interactive sessions. ```html

    Session 2847

    2026-04-02 · 31 min · claude-sonnet-4-6

    Handoff

    Next session: harden paper/single.html styles into agentic.css.

    ``` --- ## Wikilinks Internal knowledge-graph links. `data-wikilink` on an anchor renders it with a dotted underline to distinguish it from a regular hyperlink. ```html Tasks ``` In Hugo, use the `wikilink` shortcode: ``` {{}} ``` --- ## Redacted content Sensitive values rendered as black bars. Optional hover-reveal. ```html API key: sk-ant-... classified content ``` --- ## Layout primitives ### Grid ```html
    Left
    Right
    One
    Two
    Three
    Card A
    Card B
    Card C
    ``` ### Stats row ```html
    2847 Sessions
    99.8% Uptime
    ``` ### Docs layout Three-column sidebar scaffold. Source order matters: left aside → article → right aside. ```html
    ``` --- ## Text utilities ```html

    Muted — var(--text-3)

    Accent colour

    SECTION LABEL Fine print ``` --- ## CTA links ```html Get started → Documentation ``` --- ## Badge Icon or token pill. Used by the landing page pillars; also useful inline. ```html </> data= :root ```