- Sessions
- 128
- Rating
- 4.9
Profile card
A person’s ID plate: their coin set in a countersunk socket, name and role, a rating plate of facts engraved in tabular figures, and one key to act. Compact for one line.
Kit part · Avatars
A person’s mark, struck like a coin: initials stamped into the field, or a photo set under the rim, with a status lamp mounted at five o’clock. Stacks into a group with a count.
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 | Initials | Photo | Online | Away | Busy | Offline |
|---|---|---|---|---|---|---|
| 40px | AO | AO | AO | AO | AO | AO |
| 56px | TR | TR | TR | TR | TR | TR |
Graphite
| Part | Initials | Photo | Online | Away | Busy | Offline |
|---|---|---|---|---|---|---|
| 40px | AO | AO | AO | AO | AO | AO |
| 56px | TR | TR | TR | TR | TR | TR |
| Name | Kind | Values | What it does |
|---|---|---|---|
| .tui-avatar | class | on <span role="img"> | The coin: a raised rim and a struck field, 40px. |
| aria-label | attribute | required | The person’s name, then the status if a lamp shows one: “Ada Okafor, online”. |
| .tui-avatar__mark | class | 1–2 letters · an SVG | Stamped initials, or a person glyph for a guest. Always present, under any photo. |
| img | element | alt="" | A photo set under the rim. Empty alt: the coin’s label already names the person. If it fails to load, the initials show. |
| .tui-lamp | element | green · amber · red · unlit | A status lamp mounted in the rim at five o’clock. |
| .tui-avatar--sm · --lg · --xl | class | 28px · 56px · 80px | Sizes. Initials, rim and lamp scale with the coin. |
| --size | CSS property | 40px | Any other size. The field, the type and the lamp follow it. |
| .tui-avatar--square | class | — | A squared coin for a team, a studio or a company. |
| .tui-avatar-group | class | role="group" + aria-label | A stack. Coins overlap from the left; each casts its shadow on the next. |
| .tui-avatar-group--sm · --lg | class | 28px · 56px | Every coin in the stack at one size. |
| .tui-avatar--more | class | aria-hidden="true" | The count at the end of a stack: “+4”. The group’s label already says it. |
<!-- One person: initials under the photo, status in the label. -->
<span class="tui-avatar" role="img" aria-label="Ada Okafor, online">
<span class="tui-avatar__mark">AO</span>
<img src="ada.jpg" alt="">
<span class="tui-lamp" data-on></span>
</span>
<!-- A stack of people with a count. -->
<span class="tui-avatar-group" role="group" aria-label="7 people: Ada Okafor, Tom Reyes, Mira Hale and 4 more">
<span class="tui-avatar" role="img" aria-label="Ada Okafor"><span class="tui-avatar__mark">AO</span><img src="ada.jpg" alt=""></span>
<span class="tui-avatar" role="img" aria-label="Tom Reyes"><span class="tui-avatar__mark">TR</span></span>
<span class="tui-avatar" role="img" aria-label="Mira Hale"><span class="tui-avatar__mark">MH</span><img src="mira.jpg" alt=""></span>
<span class="tui-avatar tui-avatar--more" aria-hidden="true"><span class="tui-avatar__mark">+4</span></span>
</span>Needs kit.css only, no script. How to install the kit.
role="img" with an aria-label. Its initials, photo and lamp are read as that one name, never letter by letter.role="group" whose label lists who is in it and how many more: the “+4” coin is hidden from the reader, because the label says it.--tui-ink-2 on the field: above 6:1 in both finishes.No script and no images of its own. The rim is a raised coin (--tui-raised under a highlight toward the lamp); the field is a ::before inset by 7.5% of the size, and an ::after above everything draws the rim’s shadow on its upper edge and a lit lower lip, over a photo too. Initials are stamped with two text shadows: dark on the cut’s upper wall, light on its lower lip. A photo is layered over the initials, so a broken image with alt="" leaves them readable. The lamp gets a bezel of --tui-face-hi. In a stack, each coin casts a shadow to the right and the first lies on top.
The name belongs in the label, not the picture; and a coin you cannot see is still counted in the stack’s name.
5 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 person’s ID plate: their coin set in a countersunk socket, name and role, a rating plate of facts engraved in tabular figures, and one key to act. Compact for one line.
The only colour in the kit: a lamp that is on. Green is on, amber is waiting, red is recording or failing, blue is linked, white is standing by. Always next to words.
Rows in a rack: a mark, a title, a second line and a fact or a key at the end. Chosen rows sink into a recess with their check key latched; in a running order, a row lifts out of the rack on its skirt and slides past the others, from the keyboard or by its grip.