Panel
A face plate that groups what belongs together: a head, a rule, then the parts. Screws only on device-like panels.
Kit part · Accordions
Printed sections that open in place. Each head ends in a small square key printed +; open, the key latches below the plate and reads −.
Flux, three rates a day.
Kept for a power cut: 20%.
Twelve on the board.
One import, one export.
Oven, hob and the dishwasher.
On its own 20 A circuit.
Yes.
You.
Both finishes, side by side. Hover, pressed and focus are forced with .is-hover, .is-down and .is-focus; checked and disabled are real.
Aluminium
| Part | Closed | Hover | Open | Focus |
|---|---|---|---|---|
| Plain | ReserveKept for a power cut. | ReserveKept for a power cut. | ReserveKept for a power cut. | ReserveKept for a power cut. |
| Numbered | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. |
Graphite
| Part | Closed | Hover | Open | Focus |
|---|---|---|---|---|
| Plain | ReserveKept for a power cut. | ReserveKept for a power cut. | ReserveKept for a power cut. | ReserveKept for a power cut. |
| Numbered | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. | 01ReserveKept for a power cut. |
| Name | Kind | Values | What it does |
|---|---|---|---|
| .tui-accordion | class | on <div> | The stack: a printed rule above the first section and under each one. |
| .tui-accordion__item | class | on <details> | One section: a head you press and the text it opens. |
| summary | element | first child | The head, at least 52px tall. Its last thing is the key, drawn by the part. |
| name | attribute | any word | Native: sections that share a name close each other, so only one stands open. |
| open | attribute | — | Native: the section starts open and its key starts latched. |
| .tui-accordion__n | class | on <span> | An index printed before the head, 22px wide; the text below lines up with the words. |
| .tui-accordion__meta | class | on <span> | A figure or a status before the key, in the second ink. |
| .tui-accordion__body | class | on <div> | The text. It slides out 6px under the head as it opens. |
| .tui-accordion--flush | class | — | No rule over the first head or under the last: for the inside of a panel. |
| toggle | event | native | Fired on the <details> after it opens or closes; read .open. |
| Enter · Space | keyboard | — | Open or close the section whose head has focus. |
| Tab · Shift+Tab | keyboard | — | Move from head to head, and into an open section’s links. |
| .is-hover · .is-down · .is-focus | class | on summary | Forced states, for documentation and specimens only. |
<div class="tui-accordion">
<details class="tui-accordion__item" name="faq" open>
<summary><span class="tui-accordion__n">01</span>What does the hub measure?</summary>
<div class="tui-accordion__body"><p>Every circuit on the board, once a second.</p></div>
</details>
<details class="tui-accordion__item" name="faq">
<summary><span class="tui-accordion__n">02</span>Does it work offline?</summary>
<div class="tui-accordion__body"><p>Yes. The hub keeps the schedule itself.</p></div>
</details>
</div>Needs kit.css only, no script. How to install the kit.
<details> and <summary>: each head is announced as a button that is expanded or collapsed, with no script at all.name is the browser’s own exclusive accordion; with no name, several sections can be open.No script and no extra markup for the key: it is the summary’s ::after, a 22px cap on a 1.5px skirt whose background is four layers (two ink bars for the +, the key’s top light and its face). Opening swaps the stack for three layers (the vertical bar goes, so it reads −) and gives it the pressed shadow and a 1.5px drop. The body arrives with a 200ms, 6px slide and a fade, on transform and opacity only.
Sections of one subject that people read a few of. Name the group when only one should stand open.
4 rules in this file, with the foundations they rest on and the anti-patterns that break them. Full rules ship in the brain with the Pass.
A face plate that groups what belongs together: a head, a rule, then the parts. Screws only on device-like panels.
Views of the same thing, switched in place: keys in a tray, the chosen view a raised cap.
Every button, and every link that acts like one: a cap on a skirt that drops below the plate when pressed.