Clipper Kit v3.2 · Staple AI

Staple UI Sanity Rulebook

Every rule in one shape — the rule, then what it means, then a picture of it done right and done wrong. Universal rules first, then the rules for each component. You do not need to read CSS to use this.

102universal rules
397component rules
85visuals
Part one

Universal rules

These apply to every component, everywhere. Check them first.

Colour and Pairing -

1

EVERY VALUE COMES FROM A TOKEN -

Fails when: a hex, an rgb(), or a magic number sits in a component rule. If no token fits, mint one — never inline it.

Right
var(--primary)var(--destructive)
Wrong
#3b5bdb#e8590c
2

EVERY SURFACE BRINGS ITS OWN TEXT COLOUR -

Fails when: a surface is set with no color, or a surface from one family is paired with text from another. An exemption is allowed, but it has to say why in the CSS.

Right
Surface and its own text colour
Wrong
Surface with text borrowed from elsewhere
3

THE SURFACE IS THE RIGHT LEVEL -

Fails when: a floating panel painted on --background. This is invisible in light mode, so check it in dark.

Same markup, both themes. A floating panel painted on --background looks fine in light and vanishes in dark — which is why surface level is a dark-mode check.

Right — on --popover
light
Menu
dark
Menu
Wrong — on --background
light
Menu
dark
Menu

States -

4

ALL SIX STATES EXIST -

Fails when: default, hover, active, focus-visible, disabled or invalid is missing.

All six, every control
defaulthoveractivefocusdisabledinvalid
5

DISABLED LOOKS UNAVAILABLE, NOT BROKEN -

Fails when: a disabled control loses so much contrast that it reads as an empty box or a rendering fault. Drain it, but keep it legible. Do not use opacity on anything with a label — it dims the words along with the box, so the text reads as a rendering fault. The one exception is a control that is pure geometry with no text and no glyph, such as a switch: there --disabled-opacity is the sanctioned way, and fading is the whole message.

Right
Wrong
6

EMPTY, LOADING AND ERROR ARE ALL DESIGNED -

Fails when: anywhere content can be absent, only one or two of the three exist.

All three, wherever content can be absent
EmptyNo documents yet
Loading
ErrorCould not load

Size, Spacing and Alignment -

7

THE SIZE IS ON THE REGISTER -

Fails when: a size class that is not in the rules, or a control whose height does not match the row it sits in.

The whole scale
8

ANYTHING ON ONE LINE SHARES ONE HEIGHT -

Fails when: a field, a button and an icon button side by side at different heights. They all come off the 28 / 36 / 44 scale, and every one of those is an even number so the row centres land on whole pixels.

Right
Wrong
9

ALIGNMENT HOLDS TO THE PIXEL -

Fails when: optical centring, padding symmetry, row centres or a field's text inset off by more than 1px.

Right
Wrong
10

THE RADIUS IS ON THE SCALE -

Fails when: any of the five tiers in the rules broken.

The five tiers
46816full
Right — a container keeps 16 at any depth
Nested panel · 16
Wrong — stepped down, reads as a big row
Nested panel · 6
11

ICONS KEEP THEIR BUFFER -

Fails when: glyphs crammed against a bar's edge or against each other. Use the standard glyph size and leave real space around it — a control is the glyph plus its breathing room.

Right
Wrong
12

GROUPING IS CARRIED BY SPACING -

Fails when: related icons spaced the same as unrelated ones. Things that belong together sit closer together than things that do not: icons in one group are 4px apart (--space-xs), separate controls at least 8px (--space-sm). A divider confirms the grouping, it does not create it.

Right
Wrong
64

A COMPONENT THAT DECLARES WIDTH:100% DECLARES BOX-SIZING:BORDER-BOX -

Fails when: a rule setting a percentage width alongside its own padding or border while box-sizing is content-box. The element then measures wider than the track it was given, and overflows its container by exactly its own horizontal padding. There is no global reset in the kit — each component sets box-sizing itself — so this is a per-component obligation, not something the sheet handles once. The tell is that it looks fine until something sits on the element's trailing edge: .ck-dd-opt overflowed every list it was in by 18px and only became visible on the one list whose rows carried a trailing count.

65

A COMPONENT REACHABLE AS A HEADING RESETS THE BROWSER'S MARGIN -

Fails when: a class applied to <h1>–<h6> that sets no margin. The user-agent stylesheet then adds its own — roughly 13px top and bottom at --text-xl — inside a container whose padding was already chosen, so the block grows and its rhythm is off by a value nothing in the kit declares. Any title, legend or label a consumer would reasonably mark up as a heading for document structure carries margin:0. Writing the anatomy with a <div> is not a fix: it trades a spacing bug for a structure one, and the consumer is right to use the heading.

Contrast and Targets -

13

CONTRAST FLOORS ARE MET -

Fails when: text under 4.5:1, or a non-text affordance under 3:1.

Right
Body text at 15.87:1
Wrong
Body text at 2.1:1
14

EVERY TARGET IS AT LEAST 24×24 -

Fails when: an interactive area smaller than that. The target can be bigger than the glyph it holds, and usually should be.

Right
24×24
Wrong
16×16

Typography -

15

EVERY TEXT SIZE IS A TOKEN -

Fails when: any font-size or font: shorthand carrying a literal. Text reads --text-*.

Every size is a token
12 · --text-md13 · --text-base14 · --text-lg16 · --text-xl
16

THE SIZE MATCHES THE ROLE -

Fails when: a card title at 16px, a panel title at 14px, a column header at 12px regular. The right token used in the wrong place is still wrong — see the role table below.

Right
Card title · 14 semiboldPanel title · 16 semibold
Wrong
Card title · 16 semiboldPanel title · 14 semibold

Icons and Tooltips -

17

ICONS FOLLOW THE RULES -

Fails when: wrong glyph size, stroke, box or colour count.

Right
16px glyph · 24px box · 2px stroke
Wrong
22px glyph · 1px stroke
18

EVERY ICON-ONLY CONTROL HAS A TOOLTIP — EXCEPT THE SELF-EVIDENT ONES -

Fails when: self-evident controls take no tooltip, and one there is the defect: a close, clear or dismiss cross, a kebab (More), a back arrow, a pager's First, Previous, Next and Last, and an expand or collapse chevron (an accordion's, a row's). A chevron that does anything else keeps its tip, because its name says more than the glyph: a split button's caret ("Saved Filters"), a panel's widen arrow, a card's hide arrow. The glyph already says what they do, and a tip on each was noise on every overlay, table and accordion; ckAutoTip skips them, and they keep their aria-label. Every other icon-only control needs one. Fails: a glyph with no accessible name at all, so ckAutoTip has nothing to render — or a title= on a page that does not load clipper-kit.js, which never appears on keyboard focus. A bare button with a good aria-label and no .ck-tip-host wrapper is correct; do not raise it. The tooltip and the aria-label say the same words, and both name the action, not the picture. An icon never carries meaning on its own — it is paired with a visible label, or it has a tooltip and an accessible name that say what it does. A purely decorative glyph is the other case and takes aria-hidden="true", so a screen reader does not announce furniture.

Right
Download
Wrong
no name, no tooltip
19

A TOOLTIP NEVER HAS A SHADOW -

Fails when: any box-shadow on a .ck-tip. A tooltip is a floating label, not a surface. A shadow makes it read as a second panel, and over a bar or card that already casts one the two shadows collide.

Right
A floating label
Wrong
A second panel
20

A CONTROL'S LABEL NAMES THE ACTION, NOT THE STATE -

Fails when: a tooltip or aria-label that describes what the user is already looking at. A sort header offers *Sort A to Z*, then *Sort Z to A*, then *Clear sorting* — never "sorted ascending", which the glyph has already said. The tooltip and the aria-label carry the same words, so pointer and keyboard users are offered the identical action.

Right
Sort A to Znames the action
Wrong
Sorted ascendingdescribes what you can already see

Elevation -

21

A PANEL RESTING ON THE CANVAS CASTS NOTHING -

Fails when: a shadow under a main panel, card or toolbar that sits in the page. Its border and its surface are what separate it; a shadow there says "floating" about something that is not.

Right
A panel resting on the canvas
Wrong
A panel pretending to float
22

PANELS SIT ON ONE SPACING RHYTHM -

Fails when: anything other than: 12px between panels, 0 above the first row (it meets the header bar — a strip of canvas there reads as a rendering gap), 12px below the last row, 12px at the sides. The top asymmetry is deliberate and is the rule most likely to be "corrected" by someone tidying up.

Right
16px
Wrong
7px, 11px, 4px
23

THE HEADER BAR AND THE LEFT MAIN NAV ARE ALWAYS PRESENT -

Fails when: a screen that drops either without an explicit reason. .ck-shell.is-immersive is that reason — a screen whose whole job is one document hides both and brings them back on hover *and* :focus-within, so a keyboard can still reach them.

24

A SOFT TONE'S STROKE IS ITS -SOFT-FOREGROUND -

Fails when: a pale tint used as the edge of a soft-semantic surface. At #bce5cd the success stroke measured 1.38:1 on the page and 1.25:1 against its own fill — the pill was read entirely by its fill. All six tones now stroke at 4.5–10.8:1.

Right
Approvedstroke is the soft foreground
Wrong
Approvedstroke at 1.38:1
25

AN OVERLAY CASTS ONE SUBTLE SHADOW -

Fails when: a menu, dialog, drawer, popover or toast with no shadow, or with a deep multi-layer one. There is exactly one drop shadow in the system — --shadow-md, x 0, y 1, blur 3 — and every overlay uses it.

Right
One subtle shadow
Wrong
A deep multi-layer stack

Components That Get Confused for Each Other -

26

AN ALERT IS NOT A TOAST -

Fails when: a floating message that dismisses itself built as .ck-alert, or an inline message that stays put built as .ck-toast. Their cross and their icons are interchangeable; their placement and lifetime are not.

Right
Inline alert — stays put until resolved
Wrong
An alert used as a toast — floats in, dismisses itself
27

A LINK BUTTON IS NOT A GHOST BUTTON OR AN ICON BUTTON -

Fails when: a labelled link built as .ck-btn.ghost, a glyph-only action built as .ck-btn.link, or a link with its underline taken off.

Each is its own component
three different jobs
28

NOTHING HOVERS TO GREY -

Fails when: a grey hover fill anywhere. Every hover in the system is --hover-bg, a --primary-* step, a --destructive-* step, or the sidebar accent. Grey was only ever the retired secondary button's, and it read as a different design system on the same page.

Right
Wrong
29

A TRACK NEVER DISAPPEARS INTO ITS CONTAINER -

Fails when: a progress bar or slider whose unfilled part vanishes into the panel behind it. The progress bar, the progress ring and the slider share one light-grey --meter-track, which stays visible on white and on a --muted panel, and one --meter-fill at about 3:1 that carries the value — never --primary, which competes with the screen's main button. --muted measures 1.00:1 on a muted panel.

Right
Wrong
30

A PROGRESS BAR ACTUALLY MOVES -

Fails when: a determinate bar parked at one value while work carries on. If the length is unknown use .is-indeterminate; if it is known, keep the number climbing.

31

A TOGGLE SITS CENTRED -

Fails when: a label or glyph off-centre in its control, or a segmented group whose items do not line up with each other.

Right
Centred
Wrong
Off-centre

Long Text and Responsiveness -

32

READ-AT-A-GLANCE TEXT TRUNCATES FROM THE MIDDLE; TYPED TEXT SCROLLS -

Fails when: a label, chip or dropdown value that wraps, overflows, or ends in a trailing ellipsis — or a field that hides what the user typed behind one. Shortened text is always head…tail — About…ered for "About to be delivered": the head keeps the odd character, a filename keeps its extension in the tail. Never a trailing ellipsis (About…), never a leading one (…ered), never a bare …. The kit draws no other form: ckTruncate() shortens every one-line kit label that overflows, and CSS only clips, because the end of a name is usually what distinguishes it: Invoice-2026-0… could be any of a thousand files, Invoice…-0412 is one. Pick one form and keep it — a trailing ellipsis on one screen and a middle one on the next is the defect, even where each looks fine alone. Anything shortened carries a tooltip with the full text. An input and a search box scroll sideways; a text area scrolls down; labels, chips and dropdown values truncate.

Right
A document name far too long to fit herelabel truncates
Wrong
A document name far too long to fit herelabel wraps and shifts the row
33

WIDTH FOLLOWS THE PARENT -

Fails when: a fixed pixel width that forces its column wider or spills out of it. A control takes the width it is given and can shrink inside a flex or grid track.

Right
Wrong
34

A SQUEEZED BAR SCROLLS, IT DOES NOT REFLOW -

Fails when: a footer or toolbar that re-stacks into two or three lines as the panel narrows, moving controls out from under the cursor and changing the panel's height. Keep the run intact and let it scroll.

35

A CLEAR APPEARS ON HOVER AND WHILE EDITING, NEVER AT REST -

Fails when: a cross sitting permanently inside every filled field, so a form reads as a row of crosses — or one that only appears on hover, so a keyboard user can focus a control they cannot see. It shows on hover and on :focus-within, which is the field in edit mode, and it sits at the trailing edge inside the field box — the same place in an input, a search box and a text area, so the eye learns one spot. Clearing puts focus back in the field: the reader emptied it to type something else. This binds every field control, not just search.

Right
on hover
Wrong
always

Behaviour and Honesty -

36

STATE IS ANNOUNCED, NOT JUST DRAWN -

Fails when: selection or checkedness carried by a class with no aria-selected / aria-checked, or a glyph-only control with no aria-label.

37

NO DATA-FORCE IN PRODUCT MARKUP -

Fails when: data-force~="hover\|active\|focus\|disabled" paints a state the user is not in. It exists so a spec sheet can render the state matrix from the kit's own rules; in a real flow it is a lie about what the control is doing. Sev-2.

38

A ROW WITH A CHECKBOX IS CLICKABLE ACROSS ITS WHOLE WIDTH -

Fails when: a 16px box next to a 400px row is a poor target, and a reader who clicks the name of the thing they want has said what they want. Prefer a <label> around the row — native, and nothing can desync from the input's real state. Where the row carries other controls (a drag handle, a rename button), leave it a plain element with data-ck-rowcheck and let ckRowCheck() decide per click. Never a <button> wrapping an <input>: that is invalid, and browsers only vary in how they cope.

Right
Wrong
Invoice 4471 — only the 16px box works
39

NO INTERACTIVE ELEMENT INSIDE ANOTHER INTERACTIVE ELEMENT -

Fails when: a <button> inside a <button>, or an <input> inside a <button>, is invalid — and the parser does not merely tolerate it, it closes the outer element early, so everything after the nested control spills out of its container. Four times in the kit: .ck-dd-clear in a trigger, .ck-folder-row as a button holding a chevron button, option rows wrapping a checkbox, and a multi trigger holding dismissible chips. The fixes are always the same three: make the container a <div> with the right role (combobox, treeitem) and wire its keyboard, make it a <label> when it is just a checkbox and a name, or move the inner control out as a sibling. Grep for <button and <input inside a button before shipping markup — it renders fine until it does not.

Right
Vendorsibling
Wrong
Vendora button inside a button — the parser closes the outer one early
40

AN ATOM OR MOLECULE USED INSIDE AN ORGANISM BRINGS ITS BEHAVIOUR WITH IT -

Fails when: reach for the real class — .ck-search, .ck-check, .ck-btn, .ck-pill — and let the organism place it and nothing more. Never re-implement it under a local name, and never restyle it from inside: a copy drifts until one of them is missing a control. .ck-menu-search was a parallel search with its own input, its own magnifier offset, its own spinner and no clear button at all, so the cross never appeared once you typed — the organism looked right and behaved wrong. If the atom is wrong for the job, fix the atom. Check every state the atom owns still works in the organism, not just how it looks at rest.

41

A PARENT CHECKBOX REFLECTS ITS CHILDREN — CHECKED, INDETERMINATE, OR CLEAR -

Fails when: a "Select all" that only pushes DOWN. Tick three of ten children and the parent still reads empty, so the control lies about the selection. The parent is checked when every child is, indeterminate when some are, clear when none are — and indeterminate is a property set in JS, not an attribute or a class: el.indeterminate = true. The kit already styles .ck-check:indeterminate, so the dash is free once the property is set. Wire both directions: parent→children on its own change, children→parent on theirs.

The parent tells the truth about its children
42

A COLOUR TOKEN WITH AN ---OPACITY COMPANION IS NEVER USED WITHOUT IT -

Fails when: painting --scrim or --thumb-overlay at full strength. These are the tokens the rules split precisely *because* the backdrop is arbitrary, so the colour alone is the unmixed extreme — a dim becomes a blackout and the content underneath disappears entirely. If a rule reads the colour, it reads the companion too, or states why not.

43

A BULK-ACTION BAR IS DISABLED WHILE THE SELECTION IS EMPTY -

Fails when: delete, merge, rotate and export sitting live and clickable above a list where nothing is ticked, so the only feedback that an action was meaningless arrives after the click. Every control that operates ON a selection carries disabled until there is one. This is also how the bar teaches what the selection is for.

Right
0 selected
Wrong
0 selected
44

ONE TOOLTIP MECHANISM PER PAGE -

Fails when: a hand-rolled data-tooltip handler on a page that also loads clipper-kit.js, whose ckAutoTip reads aria-label. Any control carrying both attributes fires two tooltips, at two positions, often with two different strings. Use the kit's — aria-label alone for the automatic tip, .ck-tip-host where the content is custom — and delete the local one. Opt a control out with data-ck-no-tip, never by racing it.

45

THE VARIANT SET IS FIXED — NEVER INVENT ONE INLINE -

Fails when: a one-off button, badge or alert style written into a screen because the existing set did not quite fit. Every component ships a closed set of variants, and a new visual treatment is a change to the kit, not to the screen. The tell is a local class beside a kit class, or a style= on a kit component. If the set genuinely lacks a case, add it to the kit so every screen gets it.

46

ONE SEMANTIC COLOUR MAP, REUSED EVERYWHERE -

Fails when: success green on one screen and teal on the next, or a status invented locally because the map had no entry for it. Success, warning, error, info and neutral each have one pair, and a status that does not fit them is a naming problem, not a colour problem. This binds badges, alerts, toasts and status dots alike — they read the same five.

47

FEEDBACK AFTER AN ACTION IS A TOAST; ANYTHING THE USER MUST NOT MISS IS NOT -

Fails when: a destructive confirmation or a blocking error shown as a toast that dismisses itself, or a silent action with no feedback at all. Every action gets a response — a toast is the default. Reserve the dialog and the inline alert for what must be read before the user moves on.

48

A CONTROL THAT APPLIES INSTANTLY IS A SWITCH; ONE THAT WAITS FOR SAVE IS A CHECKBOX -

Fails when: a switch on a screen with a Save button, so the user cannot tell whether flipping it did anything. The two are not interchangeable styling choices: the switch states that the change is already made, the checkbox states that it is pending.

49

A NON-MODAL OVERLAY CLOSES ON ESCAPE AND ON AN OUTSIDE CLICK -

Fails when: a dropdown, menu, popover or flyout that only closes when you click its own trigger again — which is how two of them end up open at once, one of them forgotten behind the other. Both exits, always — and a click outside the page's own window counts: a screen shown inside an <iframe> hears no click on the page around it, so its overlays also close when the window loses focus. Focus returns to the trigger so a keyboard user is not dropped at the top of the page. A modal dialog or drawer is the separate case: Escape closes it, an outside click may not.

50

A CLASS IS A CONTRACT — A CONTROL WEARS A KIT CLASS ONLY IF IT IS THAT COMPONENT -

Fails when: a local control given a kit class because it looked similar, or for the styling. The kit's initialisers walk classes: .ck-select means "this element has a .ck-dropdown and a .ck-select-value and I will drive them". A pagination picker with its own markup wearing .ck-select threw inside forEach, which abandoned the iteration and left 13 of 16 dropdowns on the page dead — with one console error and nothing visibly wrong until a user clicked. Two rules follow: never borrow the class, and never let an initialiser assume the structure — skip what it cannot drive.

51

A COUNTER ABBREVIATES PAST FOUR FIGURES — 10K, 2M, CAPITAL -

Fails when: a raw 10000 or 2,000,000 sitting in a badge, pill or tab, widening the control it rides on and pushing the row around. From 1,000 up it shortens: 1.2K, 12K, 999K, 2M, 2.5M, 1B — one decimal only where it changes the answer, so 12K rather than 12.0K. The suffix is capital: a lowercase k is the SI prefix for kilo, and this is a count, not a unit. The full number stays as the accessible name, so a screen reader reads "twelve thousand" rather than "twelve kay". ckCount does both.

52

EVERY MARK ON A SELECTED SURFACE READS FROM THAT SURFACE'S FOREGROUND -

Fails when: a row, tab or card that flips to a solid fill and recolours only its label, leaving the leading glyph, the chevron or the count on the resting --icon-color. On --primary that measures 2.35:1 and the glyph all but disappears at the moment the row is the one thing the reader is looking at. When the surface changes, everything drawn on it changes with it.

53

A CONFIRM AND A CANCEL ARE COLOURED, NOT JUST SHAPED -

Fails when: a tick and a cross side by side in the neutral icon colour, so the reader has to decode the glyph to tell accept from discard. The confirm is .tone-success, the cancel .tone-danger, and both step the same three: the soft foreground at rest, the tint on hover, the solid fill when pressed. Use the soft foreground at rest — --success itself is 3.43:1 on white and a 16px glyph is not large text.

54

AN ERROR MESSAGE IS HIDDEN UNTIL THE LOGIC IT DESCRIBES HAS ACTUALLY FAILED -

Fails when: a form that opens with its errors already showing, or a red line that appears on the first keystroke of a field the reader has not finished typing. The message ships in the markup at display:none and is revealed by the control's own aria-invalid="true" — the same attribute a screen reader reads, so the two can never disagree. Three moments are wrong to validate at: on load (the reader has done nothing), on first input (they are mid-answer), and on leaving an empty field they were only tabbing past. The right moments are: leaving a field that has a value, and submitting. And the error must clear the instant the value becomes valid — an error that outlives its cause is worse than none, because the reader fixes the field and the form still calls them wrong. The hint line hides while the error shows; two lines of small print under one control, one grey and one red, is noise exactly when a single instruction is needed.

55

AN OVERLAY SITS FULLY INSIDE THE WINDOW AND NEVER COVERS THE CONTROL THAT OPENED IT -

Fails when: a menu hung off a control near the right edge that pushes the document sideways and gives the whole page a horizontal scrollbar — the panel is then partly unreachable and it has broken the page behind it. Or a long menu on a short window that clamps upward until it lands on top of its own trigger, hiding the thing the reader just clicked. The panel picks the side with the most room — below, then above, then the inline sides — keeps --overlay-gap from the anchor and --overlay-margin from the window edge, and scrolls inside the space it chose rather than overflowing it. Nothing is cut off, and the page never scrolls sideways. ckPlaceOverlay() does all of it; a component doing its own arithmetic is the defect. Pair with check 49 — Escape and an outside click both close it.

56

EVERY CHEVRON TURNS AT ONE SPEED -

Fails when: two chevrons on one screen rotating at different rates, which reads as one of them lagging. There is a single token, --duration-chevron, and every chevron in the product animates on it — named separately from --duration-moderate precisely so a change to general motion cannot desync the chevrons from each other. A chevron built on a transition rather than the clockwise keyframes is the usual offender: it inherits whatever duration the transition declares, and it unwinds anticlockwise on close, against the rotation law. Under prefers-reduced-motion every one of them drops to 1ms — still ending in the right place, because the end state is what the glyph means.

57

A DIALOG IS ALWAYS BEHIND A FULL-SCREEN OVERLAY -

Fails when: a dialog drawn straight onto the page with no scrim, so the content behind it stays bright, live-looking and apparently clickable — the reader cannot tell what is still available to them. Every .ck-dialog sits inside a .ck-dialog-scrim, which is position:fixed; inset:0 and paints --scrim at --scrim-opacity across the whole window. The scrim is what makes the overlay modal in the eye, and it is the surface an outside click lands on. The one exception is .ck-dialog-scrim.is-popover, which is deliberately transparent because a popover is not a dialog: it is non-modal, it does not trap focus, and it must not dim the page it is annotating.

58

A BADGE, PILL OR CHIP CENTRES ITS LABEL -

Fails when: a pill whose text sits left of its own centre. The control hugs its content, so the two only diverge when something fixes the width — the 200px cap with a long label, a column of pills sharing a width, a truncated label — and that is exactly when it shows. Left-aligned there reads as a mis-set label rather than a narrow one, and down a column every text start lands at a different offset from its own pill. justify-content: center on the control and text-align: center on .ck-pill-label: the first centres the icon-plus-label group, the second centres a label that has been ellipsised. Both are needed — the flex rule alone does nothing once the label is the one thing filling the row.

59

A LIST WHOSE ROWS CANNOT BE CHOSEN MUST NOT LOOK CHOOSABLE -

Fails when: a read-only panel — a value list, a legend, a summary — built from menu rows that still take a hover fill, a pointer cursor and a focus ring. Every one of those says "click me", and clicking does nothing. If a row is a value being read rather than an action being picked, strip the affordances: cursor: default, no hover background, no row focus ring. The panel, the placement and the scroller are worth reusing; the interaction is not.

60

WHEN THE ORDER IS THE CONTENT, THE MARKUP CARRIES IT -

Fails when: a chronology, a ranking or a sequence of steps built from <div>s. With stylesheets off, or to a screen reader, the order is then gone — and the order was the whole point. Use <ol>; if the visual rail or numbering is drawn by CSS, that is decoration on top of a real ordered list, never a replacement for one.

61

A COMPONENT SIZES ITS CONTENT; THE CONTAINER SIZES THE COMPONENT -

Fails when: a component that declares its own outer gutter or caps its own height, so adopting it means deleting its rules rather than adding yours. .ck-timeline carries no padding — the gutter belongs to whatever holds it — and dropping it into a pane took 13 local rules deleted, none added. The counter-example shipped in the same release: .ck-dialog-body.is-split set max-height:min(60vh,520px), so the link picker was clipped from 655px to 520px — 135px of rows gone — while its rail measured a perfect 260px. The dialog already owns the viewport cap; a body that caps itself competes with its own parent and wins by being the inner box. Outer margin, outer padding and any height cap belong to the container. Where a cap is genuinely wanted it is opt-in (.is-capped), never inherent. The same law is why a part must be styled on its own class rather than only as a child of its parent — scoping is what makes a component impossible to adopt piecemeal.

62

EVERY LABEL, CTA, HEADING, TITLE AND TOOLTIP IS TITLE CASE -

Fails when: a button that reads "Save invoice" beside one that reads "Add Vendor", or a dialog titled "Confirm reconciliation" above one titled "Import Complete". Capitalise the first letter of every significant word. It binds: CTA and button labels, page and section headings, card, dialog, form and panel titles, field labels, menu items, tab labels, accordion labels, and tooltip text — including the aria-label a tooltip is generated from, because that string is the tooltip. Four things stay as written: acronyms and codes (PDF, CSV, PO-4417, INV-20871, SGD); short joining words mid-title — a, an, and, as, at, by, for, in, of, on, or, the, to, up, via, with — which take a capital only when first or last; each half of a hyphenated pair (Non-PO Invoice); and prose, which is not a label — hint lines, descriptions, body copy, empty-state sentences and checkbox options that read as sentences stay in sentence case. The test is whether the string names a thing or says a thing: a name is Title Case, a sentence is not.

63

A CONTROL DRAWN INSIDE A FIELD RESERVES ITS LANE — THE VALUE STOPS BEFORE IT -

Fails when: a clear cross, a magnifier or a chevron positioned over the end of a field while the field's own trailing padding stays where it was. The text box runs on underneath the control, so a value long enough to reach the edge collides with it — on Profile Settings the final letter of a company name sat on top of the cross. Positioning a control over a field does not move the text out of its way; only padding does. Reserve inset + control width + a gap of trailing padding, and bind it to .has-value rather than declaring it flat, because an empty field has nothing to clear and no reason to carry the gutter. .ck-search sets the pattern at 60px for two controls; .ck-input-wrap takes 40px for one. The alternative is to truncate instead — .ck-dd-value does, with text-overflow: ellipsis — but a field being TYPED into must not truncate, because the reader cannot see what they are writing. A page-level style="padding-inline-end" patching this per screen is the tell that the kit is not doing it.

66

EVERY GAP IS A TOKEN ON THE 4PX SCALE — AND THE KIT OBEYS THIS TOO -

Fails when: a literal gap: 6px or gap: 10px. The scale is multiples of 4 (--space-2xs 2 is the one sub-step, for text lines that need a nudge rather than a gap); nothing between the steps exists. This binds the KIT, not only screens, and that is the point: a screen cannot be fully on-scale while composing components that are not. The kit carried 21 off-scale gaps — 6px in .ck-btn, .ck-field and the pill family, 10px in .ck-dialog-head and .ck-menu-item, plus 5, 7, 14 and 28 — so every screen built on it inherited them and no amount of screen-side discipline could clear the finding. Round to the nearest multiple of 4; on an exact tie round DOWN, because rounding ties upward inflates every stacked component by 2px and the error compounds down a form. The one exemption is 1px used as a seam rather than a gap — the hairline that stops two stacked buttons reading as one split rectangle — and it must say scale-exempt in the CSS Stacked siblings use the stack ladder (.ck-stack): 16px between sections, 12px between the parts of a card or panel, 8px between a heading row and what it heads, 4px between a label and its control. A container whose children touch, or one that mixes margins with gaps, fails.

67

AN ICON-ONLY CONTROL DECLARES PADDING: 0 -

Fails when: a <button> arrives with the UA's own padding — 1px 6px in Chrome — and on an icon-only control that is not cosmetic. A 24px box becomes a 12px content box, the 16px glyph no longer fits inside it, and place-items: center then centres the glyph in the CONTENT box rather than the border box: 6px from one edge, 2px from the other. The control looks square and the mark sits off to one side. It is invisible in review because nothing in the CSS says 6px — the number comes from the browser. .ck-icon-btn always declared padding: 0 and was always right; .ck-input-clear, .ck-search-clear, .ck-dd-clear and .ck-sidebar-pin never did and were all 2px out, with .ck-sidebar-item and .ck-sidebar-logo latent — correct only because their glyph happened to still fit. Measure the two side gaps rather than trusting place-items: center: centring is only true when the content box and the border box agree.

68

A MULTI-SELECT FIELD SHOWS ITS PLACEHOLDER, NEVER ITS SELECTION -

Fails when: chips packed inside the trigger. The control grows as the selection grows, so the field moves under the pointer while it is being used; at 37 values the "field" is a paragraph of chips with a caret somewhere in it. A field is a stable target that opens a list — it is not a display surface for the answer. The placeholder stays put whatever is chosen (Please Multi-Select…), and the answer lives BELOW the field in two parts, in this order: a summary row with the count on the leading edge (37 selected) and Clear All on the trailing one, then the chips under it. The count answers "how many?" without the reader counting, and the trailing edge is where a bulk action belongs. Both parts are hidden while nothing is chosen — a count of zero and a Clear All with nothing to clear are two controls that cannot be used. A chip's dismiss here is destructive at rest, not neutral-until-hovered: it deletes a value the reader picked, which is not the same act as closing something The single-select form is the one exception, and it is narrow. .ck-dd.is-chip puts the chosen value IN the field as a chip with its own dismiss, because the reason for this rule is absent there: one chip cannot grow the control the way thirty-seven can, its width is capped at 200px like every other pill, and the field’s height is fixed. A status you picked belongs where you will look for it. The exception is single select only — the moment a second value is possible, the placeholder rule is back.

69

A MULTI-SELECT SAVES AS IT IS USED — NO CONFIRM, NO CANCEL -

Fails when: a Confirm button under a list of checkboxes. Ticking a row IS the change, so a Confirm afterwards asks the reader to agree to something already visibly done, and a Cancel promises an undo the panel cannot honour once the list behind it has already moved. This is check 48 — instant means a switch, waiting-for-Save means a checkbox — applied to a panel: a control that applies instantly must not wear the chrome of one that waits. The two exits are the ones every non-modal overlay already has (check 49): an outside click, and Escape from anywhere inside the panel rather than only from the trigger, with focus returning to the field. And the panel hangs off the FIELD, not the control. A multi-select is three stacked parts — field, summary, chips — so anchoring at top: 100% of the whole thing opens the list below the selection instead of below the thing that opens it, and it drifts further away as the selection grows. It anchors to the field's own height and sits OVER the summary and chips: opening a list is temporary and must not move the page under the reader.

70

A PAGE NEVER POSITIONS A KIT COMPONENT IN A STYLE ATTRIBUTE -

Fails when: style="position:static;display:flex" on a dropdown panel, style="max-width:420px;position:static" on a dialog, style="padding-inline-end:36px" on an input. Each one is a page deciding a component's geometry, and each is a place where what the reader sees stops being what the kit does: the specimen passes review while the real component, in a real flow, behaves differently. The hand-picked values drift off the scale as well, because no rule is watching them — the panels that prompted this carried a 6px gap. If a component needs to sit differently, that is a modifier in the kit, not a style attribute on the page. The documentation case has one: .is-static puts an overlay — .ck-dd-panel, .ck-menu, .ck-card.is-dock, .ck-card.is-tour — into the flow of the page and shows it, with the gap on the 4px scale. Like data-force (check 37) it is documentation-only: a product flow never uses it, because there an overlay floats. A page may still set a specimen's own width; what it may not set is how the component is placed, shown or padded.

71

A CONTROL THE KIT ALREADY HAS AS AN ATOM IS NEVER BUILT A SECOND TIME -

Fails when: a filter rule’s remove built as a 16px circle with its own ring, its own glyph size and its own hover, sitting beside .ck-icon-btn, which is that control. A second implementation does not stay a copy: this one had drifted to --radius-full where the rulesb says an icon control is a rounded square, to a 10px glyph where the rulesc says 16px in a 24px box, and to a hover that jumped straight to solid --destructive where every other destructive control steps through the tint first. Compose the atom and give it a class for where it sits, not for how it looks. The kit has removed three of these already — a second avatar, a second icon button, a second dismiss. The tell is a rule setting width, height, radius and colour on something whose name ends in a role a kit atom already fills.

72

A TOAST LAYS ITS ROW OUT ONE WAY: EVERYTHING CENTRED ACROSS THE ROW, THE WORDS STARTING AT THE LEFT -

Fails when: a glyph sitting at the top of a toast while its message runs beside it, or a message centred in the box. A notification is read in one pass, in passing — the eye should land on the glyph and run straight along the words, and it cannot do that if the two are on different baselines or if the text starts somewhere different in every toast. So: align-items: center on the toast, text-align: start on its text. This binds the tone glyph, the message, any action and the dismiss alike. It was align-items: flex-start in the kit, which top-aligns a 16px glyph against a 13px line and reads as a misprint on the one-line toasts that make up almost all of them; a screen had already worked around it locally, which is how a kit default gets found An action is a member of that row, not a second line under it. .ck-toast-actions is a DIRECT CHILD of the toast, sitting between the content and the dismiss; it carries no margin-top and no align-self, because the toast centres its row and every child accepts that. It used to live inside .ck-toast-content with a top margin, and .ck-toast-action pinned itself to the top with align-self: flex-start — between them a toast came apart, glyph and button on one line, words on another, dismiss somewhere else again. A long message still wraps to two lines inside the content block; the ROW does not, and flex-wrap: nowrap on the toast is what holds it. The measurable form of this: the vertical centres of a toast’s children are all the same, to the pixel.

73

AN ANCHORED OVERLAY FOLLOWS ITS TRIGGER — IT RE-PLACES ON SCROLL AND ON RESIZE -

Fails when: a dropdown, menu, popover or picker placed once when it opens and never again. These are positioned in viewport coordinates, so every later scroll moves the trigger and leaves the panel exactly where it was: it floats across the page, detached from the control it belongs to and sitting over unrelated content, and the reader cannot tell what it is a menu *of*. Re-place on scroll in the capture phase — an inner scroller does not bubble, so listening on the window alone misses a panel inside a drawer, a dialog or a scrolling table — and on resize, coalescing a burst through one requestAnimationFrame so a scroll costs one placement rather than hundreds. The placement itself is always ckPlaceOverlay(); these listeners are the contract around it. A tooltip is the exception and closes instead — it is transient, it was not chosen, and there is nothing to come back to. Found twice: a flow's label picker drifted 157px after a 200px scroll of its drawer, and the kit's own ckMenuButton closed on scroll while ckMenu re-placed, so two kit menus answered the same question differently. Pair with check 49 (Escape and an outside click close it) and check 55 (it stays inside the window and off its anchor).

74

A REVEAL KEYED ON AN ANCESTOR REVEALS ON :FOCUS-WITHIN, NEVER :FOCUS-VISIBLE -

Fails when: th:is(:hover,:focus-visible) .ck-th-delete{opacity:1} — and the focusable element is not the th, it is the th’s child. :focus-visible matches only the element that holds focus, never an ancestor of it, so that branch never fires and the control stays at opacity: 0 while focused. :hover works, because hover DOES inherit up the tree — which is exactly why no amount of mouse testing finds this, and why it survived in the kit’s own table. Measured on the DES-667 folder listing: 9 of 160 tab stops were focusable and invisible, seven of them the sort control, and sort is a table’s primary action. The second form of this is pointer-events: none standing in for hidden: it stops the mouse and does nothing to the keyboard, so the control is still a tab stop. .ck-input-clear and .ck-dd-clear both hid that way and were reachable on an empty field — where they would not have done anything even if found. display: none is what removes a control from the tab order, and .ck-search-clear had always used it, which is the tell that the pattern was already settled and two siblings had drifted off it. Fixed 2026-09-22. The test is where the reveal is declared, not where the state is: a rule that names a parent and paints a child takes :focus-within. Verify by focusing the control and reading its opacity AFTER the transition settles — read in the same tick and the value lies.

76

AN ELEMENT HIDDEN WITH THE HIDDEN ATTRIBUTE IS ACTUALLY HIDDEN — THE DESIGN SYSTEM MUST NOT PAINT OVER IT -

Fails when: [hidden]{display:none} is a user-agent rule, and every author rule beats the user-agent sheet however unspecific it is. So a single .ck-icon-btn svg{display:block} un-hides every icon any page hides with the attribute, and the kit sets a painting display on an icon in 23 places. The two-state toggle is the common casualty: both glyphs paint, stacked, and the control reads as a duplicated icon — which is what the Profile Settings header showed, two panel glyphs one above the other in a 44px box. Nothing throws, the markup is correct, and the attribute is right there in the DOM, so this is read as a mystery rather than a cascade problem. The system owes every consumer one guard rule, placed last and specific enough to clear its own most specific icon rule — !important is not the answer, it only loses to the next one. Exclude hidden="until-found", which means *hidden but findable* and is the browser's to reveal. Test it by reading computed display on an element you hid, not by reading the markup — the attribute being present proves nothing. Pair with check 75 (an overlay's gate outranks every selector the kit can bring): both are the same failure, a page's intent losing a cascade it never knew it was in.

77

A CONTAINER INSETS ITS CONTENT ON ALL FOUR SIDES, BY ONE NAMED PROPERTY -

Fails when: a panel body at 8px beside a dialog body at 18/20 and a settings card at 20, five of them asymmetric so content sits closer to one edge than the other for no stated reason. A container is a container: panel body, dialog body, drawer body, card, accordion drawer, dock body, settings card, tab panel, carded form, picker body and popover all take --container-inset, and they take it on all four sides. The ladder is --container-inset-xs 4px (a row inside a list, or the frame around one — a folder navigator row, a menu), --container-inset-sm 12px, --container-inset 16px, --container-inset-lg 24px, and --container-inset-bar 12 / 16px (with -bar-sm and -bar-lg) for a one-line bar whose height is its own — toast, alert, notification head, accordion trigger. Every container component's tier is in the table in the tokens rulebook § Container inset, and a number off the ladder is a finding unless that table lists it as a declared exception, and which step a component takes is a density decision, not one number everywhere — a fields panel, a chat dock, a board card and a caption under an image are read close up and in bulk and take -sm; a dialog body, a drawer, a panel and a card are the primary surface of what you are looking at and take the base. The step belongs in that component’s sheet, with the reason. What does NOT vary is that it applies to all four sides. A one-sided or three-sided padding on a container is the tell — it means someone was nudging one edge to fix something else, usually a gap that belonged to the child. Content that must reach the edge takes .is-flush, which zeroes it: a table filling a panel, an image in a media card, the halves of a split dialog. That is a decision someone makes, not a default anything falls into.

78

THE HEADER BAR’S TWO RUNS ARE FIXED — ORDER, SIZE AND GAP -

Fails when: four flows, four different headers: a different set of controls, a different order, controls at three sizes, and no gap between them because .header-right was gap: 0 and every flow spaced its own by hand. The leading run is panel toggle · breadcrumb or title · info. The trailing run is search · settings · notifications · avatar. That order is not a preference: search acts on the page you are looking at so it leads, settings and notifications are account-level and sit together, and the avatar closes the run because it is the way out of the product. Every control in either run is a 24px frame around a 16px glyph — the rulesc’s pair, not the rail’s 20-in-40 — the avatar closes at the same 24px in its default size, and every gap is --header-control-gap, 8px. The geometry is declared on the RUN, not on each control, so a flow that forgets .size-xs still gets it and the header cannot drift by omission. ClipperHeader builds both runs from one definition; a flow opts its trailing run in with data-actions and keeps its own handlers by data-hb="search\|settings\|notifications\|avatar". The test: in any two headers in the product, the same control sits at the same index, at the same size, the same distance from its neighbour.

79

EVERYTHING THAT SHARES A LINE SITS ON IT — CHECK IT ON THE GRID -

Fails when: draw the grid's lines behind the layout ([data-ck-grid-lines]) and measure (scripts/audit_grid_lines.py): items in a row whose centres are more than 1px off one horizontal line (text measured by its ink), or parts of a column whose left edges are more than 1px off the container's inset line. Every panel and organism is laid on a 4, 6, 8, 10 or 12-column .ck-grid with --grid-gutter, and a new one is checked on the lines before it enters the kit. A part given a fixed pixel width that ignores the columns is the same finding. A centred container has a centre line, not a left one, and a deliberate full-bleed part is exempt.

80

A LIST'S ITEMS CARRY NO SEPARATOR LINES — AND NOR DOES ITS SEARCH ROW -

Fails when: a rule — solid, dotted or dashed — between the items of any list: dropdown and picker options, menu items, accordion items, dialog rows, the child rows of a grouped table (.ck-table.is-grouped tr.is-child); or a line under a menu's or dropdown's search row or select-all row. A list is one list, told apart by its rows' own padding and hover; a line under every row turns it into a stack of one-row tables and doubles the noise of a long list. What may separate is a boundary between GROUPS — a group heading's band, a .ck-dd-group rule — never the items inside one.

81

A DATE AND A TIME ARE WRITTEN ONE WAY: 13:00 - 01/01/2026 -

Fails when: any other form of a date or timestamp shown in the UI: 2026-08-14, 14 Aug 2026, Aug 14, 2026, 09:20, 1:00 PM, 4 minutes ago. A timestamp is HH:MM - DD/MM/YYYY, 24-hour, with a spaced dash; a date alone is DD/MM/YYYY. Mark it up as <time datetime="ISO"> and the kit writes it in this format (ckFormatDateTime / ckFormatDate), so a flow follows the rule — and any future change to it — without an edit of its own. A native date input keeps the browser's own picker format.

82

A SEARCH HIGHLIGHTS ITS MATCHES IN THE LIST AS YOU TYPE -

Fails when: a searchable list — a searchable dropdown, a menu with a search row, a picker, the folder navigator, a drawer's column or activity list — that filters its rows but leaves the matching text unmarked, or marks it only in some lists. While the search box holds a query, every row that stays shows the part of its text that matches, wrapped in mark.ck-match on --highlight-bg with the row's own text colour; every occurrence is marked, and clearing the query clears the marks. ckHighlight(el, query) does it, and the kit's list filters call it, so a hand-written list wired through ckListFilter gets it too.

83

A SEARCH OVER A TABLE HIGHLIGHTS THE KEYWORD IN THE TABLE AS YOU TYPE -

Fails when: a global or toolbar search above a table that leaves the matching words in the cells unmarked, marks them only after Enter, or leaves marks behind when the query is cleared. On every keystroke, each cell that holds the keyword shows it wrapped in mark.ck-match on --highlight-bg — the same mark the lists use (check 82). ckTableSearch() pairs a search with the nearest .ck-table after it (or the one data-ck-search-target names) and does it, so a flow with a search above its table gets it from the kit with no edit; data-ck-search-filter also hides the rows with no match.

84

OPENING ONE ROW'S MENU DISCARDS THE BULK SELECTION -

Fails when: with rows ticked, a click on one row's ⋯ (its row-actions menu) opens that row's menu while the ticks — and the bulk bar they raised — stay, so it is unclear whether an action will touch the one row or the whole selection. In every table, opening a row's own menu first clears every ticked row and the select-all, then opens the menu for that row alone; the bulk bar goes with the selection. The kit does it for any menu trigger in a row ([aria-haspopup="menu"], [aria-label="Row Actions"], [data-ck-row-menu], [data-ck-menu], any button in .ck-cell-actions) in clipper-kit.js, clearing each box with a real change event so the page's own counts follow — a page never re-implements it, and a row-menu trigger that is not one of those must carry data-ck-row-menu. A column header's menu (in thead) is not a row menu and leaves the selection alone; data-ck-keep-selection on a trigger or a table opts it out, and the table reports ck:selection-cleared {reason: 'row-menu', row}.

85

A COMPARISON OPERATOR IS WRITTEN AS ITS MATHS SYMBOL, THEN "IS" AND THE WORDS: = (IS EQUALS TO) -

Fails when: a comparison operator shown as bare words (greater than, is equal), a symbol alone, "equal" without the s, or a symbol forced onto an operator that is not one of the six comparisons. The six comparison operators are <symbol> (is <operator words>), always "equals", with one space between the symbol and the bracket: > (is greater than), < (is less than), = (is equals to), ≠ (is not equals to), ≥ (is greater than equals to), ≤ (is less than equals to). Only those six comparisons take a symbol; every other operator is its words alone, with no symbol — is between, is not between, is empty, is not empty, is before, is after, is any of, contains any of, starts with, is true, is false. The label is display only: the kit (ckOperatorLabel() in clipper-kit.js) rewrites the text of every .ck-filter-rule-op, .ck-filter-rule-op-static, [aria-label="Operator"] and [data-ck-operator] control and leaves its values and the flow's own operator keys untouched; a page's own operator control carries data-ck-operator.

86

THE PRIMARY COLOUR IS FOR THE MAIN ACTION ONLY -

Fails when: supporting UI wearing --primary: a tooltip, a slider or progress fill, a chat bubble, a selected-state plate, a decorative icon tile. --primary (and its hover / active steps) belongs to the screen's main action — the primary button, the round primary add — so the eye goes there first. Anything else that takes it competes with the CTA and blurs which action matters. Supporting UI takes its own token: the tooltip --tooltip (graphite), the meters --meter-fill / --meter-track (light greys), your own chat bubble --chat-own (light teal). A focus ring, a link, a selected checkbox and a current-page marker are states, not supporting surfaces, and keep their own tokens.

87

TITLES AND LABELS ARE IN TITLE CASE -

Fails when: a title, heading, button label, menu item, tab, column header, field label, tooltip or section name in lower case, sentence case or ALL CAPS: "create folder", "Rows per page", "WORKFLOW". Every word's first letter is capitalised — "Create Folder", "Rows Per Page", "Workflow" — except the short joining words inside a phrase (a, an, the, and, or, of, to, in, on, for, at, by), which stay lower case unless they lead ("Go to", "Page 2 of 9"). Acronyms keep their capitals (AP, KYC, PO). A deliberate uppercase eyebrow label (--text-xs group label) is a typography choice in CSS, not text written in capitals. Running sentences — hints, messages, descriptions, empty-state copy — stay in sentence case.

88

DARK TEXT SITS ONLY ON A LIGHT FILL — 10:1 OR BETTER -

Fails when: body text in a dark foreground on a mid-tone tinted fill — a chat bubble, a chip, a badge, a banner, a selected row, a callout — that passes AA (4.5:1) but reads heavy and murky: #05262e on #74c1c8 measured 7.7:1 and was reported as hard to read. A tinted fill that carries dark body text is light enough for the text to read at 10:1 or better (--chat-own #b2dfe3 is 11:1). Where the fill has to be mid-tone, the text goes to its light partner instead. Measure the text against the fill it actually sits on, in every theme.

89

A TOOLTIP SHOWS ONLY TEXT THE READER CANNOT ALREADY SEE -

Fails when: a tooltip on a label, badge, pill, chip, cell, tab or title that repeats words already fully visible beside it. A tip is for what is hidden: a label cut to head…tail shows its full text; an icon-only control shows its name (universal 18). When the whole text fits, no tip opens — whatever the markup carries (data-ck-tip-text, title, a hand-written .ck-tip). The kit decides from the rendered text (ckTruncate marks a cut label; ckAutoTip opens only then).

90

A SECONDARY DESTRUCTIVE ACTION IS NEUTRAL AT REST, DESTRUCTIVE ON HOVER -

Fails when: a destructive action that is not the screen's main action — Clear All, Remove, Discard, Delete row, Remove Column, a dismiss or clear cross — standing red at rest, or staying neutral on hover. At rest it is the control's neutral colour (the ghost or link --foreground, the icon's --icon-color); on hover it takes the soft destructive plate (--destructive-bg with --destructive-soft-foreground), solid --destructive on press, --focus-ring-error on focus. Standing red is reserved for the one destructive confirm a dialog asks for (.ck-btn.destructive).

91

THE KIT'S OWN COMPONENT, NEVER A LOOK-ALIKE -

Fails when: a flow drawing its own avatar, badge, chip, chat bubble, tooltip, dropdown, pagination or dialog — a local class that copies the kit's look — instead of using the kit component. A look-alike drifts the moment the kit changes (a dark filled avatar kept after the kit moved to the light plate; a page-built bubble missing the own-bubble colour) and never picks up the kit's behaviour (truncation, tooltips, disabled states, keyboard). Use the kit class and its variants; if a variant is genuinely missing, it is a kit gap to raise, not a local component to build.

92

KIT CHANGES ARE MADE ON MAIN; FLOWS TAKE THEM BY LINKING THE KIT -

Fails when: a flow that keeps its own copy of the kit, pins an old kit file, or overrides kit rules locally so a kit change cannot reach it. Kit changes are made and pushed on main of design-repo; the Publish and Sync workflows publish the kit to the CDN and copy it to every branch, so every flow that links the kit updates by itself. A flow links design-system.css, clipper-kit.css and clipper-kit.js (the CDN, or the branch's synced design-system/ copy) and adds no local rule that restyles a kit component. A kit edit made on a prototype branch is overwritten by the next sync — it is a finding, not a fix.

93

SAVE AND UPDATE STAY ENABLED; A CLICK THAT CANNOT SAVE SAYS WHY -

Fails when: a Save, Update or Apply that is disabled until something changes, or removed until the form is valid. The CTA stays enabled — never disabled, never removed to signal it is unavailable. Clicking it when the form fails its logic shows why: the error on each field that fails (check 54 — they appear on that click, not before), or an error toast when nothing has changed ("No Changes to Save"). A bulk-action bar with nothing selected is check 43, not this.

94

RENAMING HAPPENS IN PLACE: TICK AND CROSS BESIDE THE FIELD, ENTER SAVES -

Fails when: a rename (a row, file, folder, column, tab or view) where the pencil stays visible while the name is being edited, the field has no tick and cross beside it, Enter does not save, or the cross keeps the half-typed name. The pencil hides while editing; the tick (.ck-icon-btn.tone-success, tooltip "Save") and the cross (.ck-icon-btn.tone-danger, tooltip "Cancel") sit right after the field; Enter saves, the cross restores the old name. These two keep their tooltips — they are not the self-evident crosses of check 18.

95

DELETING ASKS FIRST -

Fails when: a row, file, folder, column, rule or user removed on the first click. A delete opens the small confirm dialog (title naming what goes, one line of message, Cancel and the destructive button). Reversible edits are not deletes and do not ask: clearing a field, removing a chip or filter, unticking a box.

96

NO DIALOG IS OPEN WHEN THE PAGE LOADS, AND EVERY DIALOG IS CENTRED -

Fails when: a screen that opens with a dialog already showing — usually a prototype left mid-state — or a dialog pinned to the top or a corner of the window. A dialog opens only from something the reader did, and sits in the centre of the window, which .ck-dialog-scrim does with place-items: center.

97

AN OVERLAY NEVER COVERS AN OPEN DRAWER -

Fails when: a dialog, popover or panel that opens on top of a drawer that is open. It opens in the free space beside the drawer, or it replaces the drawer as a modal (the drawer closes, the dialog takes its place). A menu anchored inside the drawer stays inside it (check 55).

98

ONLY THE LIST SCROLLS -

Fails when: a panel, drawer, dropdown or menu whose search row or action bar scrolls away with the list, or whose content spills past its edge. The search on top and the action bar at the bottom are flex: none; the list between them is the only scroller (min-height: 0; overflow: auto).

99

THE PAGE ITSELF NEVER SCROLLS -

Fails when: the window's own scrollbar appears because the body is taller than the window. The body is exactly the window height (height: 100dvh; overflow: hidden); the panels inside it scroll on their own (check 98).

100

NOTHING IS SAID TWICE -

Fails when: a heading repeated as the first line of its body, a subtext that restates its title, the same warning shown as an alert and again under the field, two headings naming one section, a tooltip repeating a visible label (check 89). Say each thing once, where the reader looks for it.

101

THE PRODUCT'S OWN WORDS -

Fails when: copy that uses a synonym for a product term. Folder, not Queue; Photo, not Picture; Scanned, not Received; Invite (a person), not Add; Confirm, not Submit. One word for one thing on every screen.

102

GENERATED SENTENCES AGREE WITH THE DATA -

Fails when: a sentence built from data that is wrong for it: "1 documents", "Approved by" with no name after it, a count in the sentence that differs from the table's. Pluralise from the number (1 Document, 2 Documents), and hide or reword a sentence whose data is empty.

103

A FLOATING BUTTON NEVER COVERS ANYTHING CLICKABLE -

Fails when: a floating button (Add, Chat, Help) that sits over a control, link, row action, checkbox, pagination or any other target, so the reader cannot reach it. A floating button may rest over content only where nothing under it can be clicked; where something can, the content leaves it a lane (the list pads its end by the button's height plus a gap) or the button moves into the bar.

Part two

Rules for each component

Only read the components the screen actually uses.

ACROSS THE PRODUCT -

A ROLE IS NAMED BY ITS ROLE TOKEN, NOT A BORROWED HUE -

The line in focus across documents is --match / --match-foreground / --match-border; the AI-extracted mark is --ai / --ai-foreground / --ai-border; extraction confidence is --confidence-ok / -confirmed / -warn; categorical row identity is --series-1…8. The same intent drawn with --amber-bg, --purple-soft-foreground, a --dfp-* token outside the fields panel, or a raw hue is a finding.

EVERY CONTAINER TAKES A TIER OF THE INSET LADDER -

A component whose outermost frame is a container insets by one token: --container-inset-xs 4, -sm 12, base 16, -lg 24, or -bar 12 / 16 (-bar-sm, -bar-lg) for a one-line bar. Measure the padding and look the component up in the tokens rulebook § Container inset: a value that is not its tier, a literal, or a one- or three-sided inset is a finding. Controls (buttons, fields, tabs, pills, menu items, options, table cells) are sized by height and are not in the table.

AN OVERLAY'S CLOSE ✕ RESTS NEUTRAL AND TURNS DESTRUCTIVE ON HOVER -

Every cross that closes a dialog, drawer, side panel, the notification panel, a toast or an alert is .ck-icon-btn.is-close: the glyph in --icon-color at rest, --destructive-bg with --destructive-soft-foreground on hover, solid --destructive with --destructive-foreground when pressed, --focus-ring-error on focus. Measure the rest colour: --icon-color-destructive at rest (.tone-danger) is a finding, and so is a grey --icon-hover-bg hover. A pill's dismiss keeps its own rule.

A FIELD'S CLEAR CROSS RESTS NEUTRAL AND TURNS DESTRUCTIVE ON HOVER -

.ck-input-clear, .ck-dd-clear, the search box's .ck-search-clear — including a menu's or dropdown's search row — and the action bar's Clear Selection cross rest in --icon-color; on hover they take the --destructive-bg tint with --destructive-soft-foreground, solid --destructive when pressed, --focus-ring-error on focus. A grey --hover-bg hover on a clear, or a clear that is red at rest, is a finding.

TOOLTIP FOR EVERY ICON IN PRODUCT — EXCEPT THE SELF-EVIDENT ONES -

Every icon-only control shows its label in a tooltip on hover and focus, except a close, clear or dismiss cross, a kebab (More), a back arrow, and a pager's First, Previous, Next and Last. Those take no tooltip — the kit adds none and they keep their aria-label — and a hand-written one on them is a finding.

TOOLTIP IS THE TOPMOST LAYER -

A tooltip sits above everything on the page. It must never be clipped by a scroll container, a panel edge or an overlay. If it is being cut off, the fix is to lift it out of the clipping ancestor, not to move it to another side.

A TOOLTIP'S CORNERS ARE 8PX -

Every tooltip — the default graphite .ck-tip, the light .ck-tip.is-light and the header bar's .hb-tooltip — has --radius-md, 8px, the control radius. A tooltip on the 16px panel radius reads as a pill; any other value is a finding.

THE TOOLTIP IS GRAPHITE, NEVER THE CTA'S COLOUR -

The default tooltip fills with --tooltip (#2b2f31 light, #3a4144 dark; black with a white edge in high contrast) and --tooltip-foreground text, with a --tooltip-border edge and tail. A tooltip filled with --primary, which merges into a primary button or the round primary plus it labels, is a finding. .is-light stays --popover.

NO SHADOW ON A TOOLTIP, EVER -

Tooltips never have a shadow beneath them.

OVERLAY BACKDROPS ARE ONE LAYER -

Every overlay backdrop sits at --z-overlay, everywhere, with no exceptions and no per-flow z-index.

ICON GEOMETRY IS FIXED -

The icon view box is 24×24px and the icon itself is 16×16px. This is permanent, wherever icons are used, and every future component follows it.

MAIN PANELS CAST NOTHING; OVERLAYS CAST ONE -

Main panels sitting directly above the canvas have no shadow beneath them. Overlay menus, dialogs and drawers have a subtle shadow-md at x-0, y-1.

EVERY FONT COMES FROM A TOKEN -

Adhere to the typography tokens when building flows with the kit. Every piece of text has a token enforced from the kit; no inline sizes, no one-off weights.

STATE IS ANNOUNCED, NOT ONLY DRAWN -

Anything a user can see about a control's state — selected, checked, expanded, busy, invalid — is also in the markup for a screen reader.

THE ATOM BRINGS ITS BEHAVIOUR -

When an atom or molecule is used inside an organism, its interactions, rules, behaviour and properties come with it. Place the real component; never re-implement it under a local name and never restyle it from outside.

NO TICK IN A DROPDOWN OR MENU -

The chosen option shows with the selected fill (--selected-bg / --selected-fg, semibold) and nothing else. A tick or check glyph beside it, leading or trailing, is a finding — the fill already says it, and the trailing lane is for real content such as a badge. A multi-select's checkboxes are controls, not ticks, and stay.

EVERY LABEL, CTA, HEADING, TITLE AND TOOLTIP IS TITLE CASE -

Capitalise the first letter of every significant word (check 62). Acronyms and codes keep their own case, short joining words stay lowercase mid-title, and prose — hints, descriptions, body copy, checkbox sentences — stays in sentence case. The test: a string that NAMES a thing is Title Case, a string that SAYS a thing is not.

Button -

Button — the live Clipper Kit componentButton — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A BUTTON'S TEXT IS MEDIUM WEIGHT -

Every button label — .ck-btn in every variant and size, and .ck-toggle — is --font-weight-medium (500) at 13px. A semibold or bold button label, or a hard-coded weight, is a finding.

AN OUTLINE BUTTON'S BORDER IS 1PX IN THE LIGHTER --BTN-BORDER -

The default / outline .ck-btn and the .ck-toggle-group frame draw a 1px (--btn-border-width) border in --btn-border — #6f97a1 light, #5d8790 dark, --primary in high contrast — and step to --primary on hover and press. A resting outline button drawn in the dark --primary, a hard-coded border colour or width, or a sub-pixel width (Chromium paints it as 1px anyway) is a finding. Filled buttons keep a border the colour of their fill.

ACCENT HOVER -

Follow the accent hover rule for buttons. Consistency here matters more than any individual button; nothing in the product hovers to grey.

CLEAR ALL IS ONE CONTROL -

"Clear All" is consistent across every flow and follows the rules set in the kit. Same label, same tone, same placement — it belongs beside the thing it clears, never parked in a title.

CLEAR ALL IS NEUTRAL AT REST, DESTRUCTIVE ON HOVER -

At rest a Clear All — .ck-btn.ghost.destructive, .ck-btn.link.destructive or .ck-dd-clear-all — is --foreground, label and glyph, with no fill. On hover it takes --destructive-bg with --destructive-soft-foreground (the link form: the destructive text colour), solid --destructive on press, --focus-ring-error on focus. A Clear All that is red at rest, or one that stays neutral on hover, is a finding.

MATCH THE HEIGHT OF WHAT IT STANDS BESIDE -

When a button sits with an input box or any other component, the heights match and the tops and bottoms align. Adjust the button's height to its neighbour, and keep the result an even number.

A LINK BUTTON IS NOT A GHOST BUTTON OR AN ICON BUTTON -

There is a fundamental difference. A link reads as text and carries an underline; a ghost is a button with no fill; an icon button is a square target around a glyph. Do not substitute one for another.

ONE PROMINENT ACTION PER VIEW -

The large 44px size is for a single prominent action, at most once per view.

MIDDLE-ELLIPSIS, NEVER WRAP -

A long label shortens to head…tail (About…ered) and gets a tooltip with the full text. It never wraps to a second line and never stretches the button past its tier width.

LOADING KEEPS THE WIDTH -

The loading state swaps the label for a spinner at the same width, so nothing on the row moves. A button that shrinks to fit a spinner drags the whole toolbar with it.

AT MOST THREE PRIMARY CTAS -

One primary action is the usual case, and more than one is fine where a screen genuinely offers parallel actions of equal weight. Three is the ceiling. Past three nothing reads as primary any more and the user has to read every button to find the one that matters.

ICON AND LABEL SHARE A BASELINE -

The glyph and the text are vertically centred on the same line, with the same gap between them on every button in the product. A gap that varies per screen, or a glyph sitting a pixel or two high, is the most common drift in this component.

DESTRUCTIVE MEANS THE DESTRUCTIVE VARIANT -

A delete, remove or disconnect uses the destructive variant. Never a one-off red on a default button.

THE LABEL IS TITLE CASE -

"Save Invoice", not "Save invoice". A row where one button is sentence case and the next is not reads as two designers.

HOLDING A VALUE IS NOT BEING SELECTED -

.has-value means this control carries configuration; .is-selected means it is the chosen one among several. A control that opens a popover and comes back with something set takes .has-value. Reaching for .is-selected because it is the nearest state is the right paint on the wrong meaning.

THE SIGNAL IS A DOT, AND THE TWO STACK -

A fill is selection's, and .ck-btn is already --primary-bordered at rest so a stroke would say nothing. A control can be both selected and carrying a value, and it must be able to say so.

A FIELD IS EXEMPT -

.ck-input-wrap, .ck-search and .ck-dd already show they hold a value by showing their clear. A dot there would collide with it in the same corner.

Icon button -

Icon button — the live Clipper Kit componentIcon button — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

.SIZE-2XS IS 18PX WITH A 12PX GLYPH AND A 24PX TARGET -

The smallest icon button is .ck-icon-btn.size-2xs: an 18px frame, the 12px small glyph, every state and tone of the base button, and a 24 × 24 hit area through ::before. An 18px control without the 24px target, a 12px glyph in a larger button, or a hand-sized small icon button is a finding.

TOOLTIP AND ARIA-LABEL, BOTH -

There is no visible text, so the tooltip and the accessible name are the only things naming the action. Both, always, and saying the same words.

ONE ACTION, ONE FORM -

The same action is an icon button everywhere or a text button everywhere. Not a glyph on one screen and a labelled button on the next.

ON IS NOT SELECTED -

.is-on keeps the ground and tints the glyph; .is-selected fills the button. Selected means "this is the one you picked out of several"; on means a switch is on. A filled square in a row of unfilled ones reads as the current selection, so two independent toggles both lit as .is-selected look like a choice between them.

ARIA-PRESSED MAKES IT TRUE, THE CLASS ONLY PAINTS IT -

A toggle with the class and no attribute is a lie to a screen reader.

THE ARIA-LABEL IS TITLE CASE -

It is the tooltip text, and a tooltip is a label. ckAutoTip renders that string verbatim, so the attribute IS the label: "Delete Document", not "Delete document".

IT DECLARES PADDING: 0 -

A <button> carries the UA's 1px 6px. On a 24px icon-only control that leaves a 12px content box, the 16px glyph overflows it, and place-items: center centres against the content box — 6px one side, 2px the other. Nothing in the CSS says 6px, so it survives review.

MEASURE THE TWO SIDE GAPS, DO NOT TRUST PLACE-ITEMS: CENTER -

Centring is only true when the content box and the border box agree.

Badge / Pill / Chip -

Badge / Pill / Chip — the live Clipper Kit componentBadge / Pill / Chip — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A BADGE'S TOOLTIP IS FOR CUT TEXT ONLY -

A badge, pill or chip whose whole label is visible shows no tooltip on hover or focus; one whose label is truncated (head…tail) shows its full text. A tooltip repeating a fully visible badge label is a finding. An icon-only badge (.is-icon) always keeps its tip.

A BADGE'S GLYPH IS HALF ITS HEIGHT -

10px in a .size-sm badge, pill or chip (20px), 12px in the default (24px), 14px in .size-lg (28px), in both lanes of .is-duo. A 16px glyph beside a 12px label is a finding; only an icon-only badge (.is-icon) carries the full 16px.

MEDIUM 12PX, AT EVERY SIZE AND IN EVERY STATE -

The label is the thing being read, so it does not scale with the capsule: a 20px, a 24px and a 28px badge all set their text at --text-md in --font-weight-medium. The height and the padding already tell the sizes apart. Three type sizes — 11, 12, 13 — made the small badge harder to read than the table data beside it and the large one compete with body copy. A status label (.ck-status) follows the same rule, because a status and a badge share table rows and have to read at one size; only its dot scales. Selection does not change the weight either: a pressed chip takes --selected-bg, --selected-fg and the matching stroke, which is three signals already, and 600 is wider than 500 — bumping it moves the label and shifts the chips beside it as one is picked.

THE ONE-COLOUR FORMULA -

A badge is built from a single foreground colour: 100% for the foreground and the glyph, 20% for the border, 8% for the background. Stick to it — it is what keeps twelve differently-toned badges looking like one family. Each tone owns three tokens and no others: --<tone>-soft-foreground, --<tone>-border, --<tone>-bg.

NEUTRAL IS A TONE, NOT AN ABSENCE OF ONE -

It takes --neutral-*, built the same three ways, and never borrows --muted and --border instead. Those two are the same hex in the light theme (#f5f5f5), so a neutral badge assembled from them draws its stroke in its own fill colour and ships with no border at all — which is exactly what happened, and it is invisible in review because the badge still looks deliberate.

THE FORMULA IS STATED IN LIGHT -

100 / 20 / 8 measured against white. Dark and high contrast build the same three tiers over their own ground and cannot use the same numbers: an 8% tint over #142226 is not a surface, and a 20% stroke on it disappears. What has to hold everywhere is the order — label strongest, stroke in the middle, fill lightest.

KNOWN GAP — DARK AND HIGH CONTRAST COLLAPSE THE MIDDLE TIER -

Both set the stroke equal to the label, at 100%, so a toned badge in those themes is a fill with a full-strength outline rather than the three-tier object it is in light. Measured, not inferred: stroke/fill and text/fill come back at the same ratio for every tone in both. This is a token-set defect — report it once against the tokens per bible the rules, never once per screen that inherits it. Light was corrected on 2026-09-21; these two have not been.

A BADGE HUGS ITS TEXT, UP TO 200PX -

Every badge, pill and chip — in a table cell, a card, a menu, a filter bar — is as wide as its label, up to --badge-max-width, 200px. Past that the label truncates head…tail, abc…apso, and the badge stops growing. There is no fixed width anywhere: a badge stretched to a fixed footprint (the old 150px in a table column) or wider than 200px is a finding. The height stays fixed per size. The one exception is a group band in a table's tr.ck-th-groups header row, which fills its colspan.

TRUNCATE IN THE MIDDLE WHEN IT WILL NOT FIT -

Content that does not fit that space truncates like Missin…eact — cut from the middle, based on a fixed margin and the presence of any icon, keeping appropriate spacing between every element of the chip. Every gap is a multiple of 4px.

FULL RADIUS, NOT A ROUNDED RECTANGLE -

Every chip and pill takes a full radius. The counter is the only exception.

A BADGE QUALIFIES A LABEL; IT DOES NOT REPLACE ONE -

In a list row the badge sits at the trailing edge and the label still says what the row is. The exception is a badges-only list, where the badge is the content and moves to the leading edge.

BADGE IS STATUS, CHIP IS INTERACTIVE -

They are one component in the CSS and two jobs in the UI. A badge reports state and cannot be clicked or dismissed; a chip is removable or selectable and carries the control that makes it so. Do not give a badge a dismiss, and do not report plain status with a chip.

TRUNCATE FROM THE MIDDLE, TOOLTIP THE REST -

Long text inside a badge or chip shortens from the middle and shows the full string on hover. It never widens the pill past its fixed width.

COUNTS ABBREVIATE, THEY DO NOT WRAP -

A counter past four figures reads 10K, 2M, 1B — capital suffix, one decimal only where it changes the answer. A raw 10,000 widens the pill it rides on and shoves the row sideways. The full number stays as the accessible name.

THE LABEL IS CENTRED, ALWAYS -

justify-content: center on the control and text-align: center on .ck-pill-label. The pill hugs its content, so this only shows once something limits the width — the 200px cap, a column of pills sharing a width, a truncated label — and left-aligned there reads as a mis-set label, not a narrow one. The flex rule alone is not enough: it does nothing once the label is the one thing filling the row, which is exactly the ellipsised case.

AN ICON-ONLY BADGE IS .CK-PILL.IS-ICON, NOT A .CK-STATUS -

A status is a dot BESIDE a label; remove the label and nothing is left but the dot. The icon badge keeps the pill's frame, tone map and sizes and drops only the text.

IT IS SQUARE, NOT A LOZENGE -

--radius-md. At --radius-full a single glyph in a round box reads as an avatar or a button.

A GLYPH ALONE IS NOT AN ACCESSIBLE NAME -

aria-label is required, and the tooltip is the kit's own.

AN INTERACTIVE ONE GROWS ITS TARGET, NOT ITS MARK -

The 24px step is at the WCAG 2.5.8 floor; the ::after extends the hit area without moving the glyph.

A TWO-GLYPH BADGE IS .IS-DUO, AND IT IS A GRID -

Three tracks: glyph, label, glyph. Under flex the label is sized by its own content, so a long one squeezes the glyphs and a short one lets them drift inward, and the badge stops reading as one object down a column. The badge hugs its label like every badge, up to 200px; the glyph lanes stay fixed and only the label track grows or cuts.

THE GLYPHS COME FROM THE MARKUP -

Any Lucide pair, both inheriting the tone through currentColor. The variant owns the geometry, not the meaning.

A TRAILING BUTTON IS NOT A TRAILING GLYPH -

A button there is a dismiss: .ck-icon-btn.size-xs in a plain pill. .is-duo is for two marks that are read, not pressed.

Table -

Table — the live Clipper Kit componentTable — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A SEARCH ABOVE IT MARKS THE KEYWORD IN THE CELLS -

Typing in the search above a table marks every occurrence of the keyword in its cells on each keystroke (mark.ck-match), and clearing the query clears them. A table search that does not mark, waits for Enter, or leaves marks behind is a finding.

A TABLE'S CHECKBOXES ARE 12PX -

The select column, the header select-all and a matrix's crossings are .ck-check.size-sm, 12px — never the 16px default. Measure the box: 12 × 12, stroke 1.25px, target 24 × 24.

A MATRIX HEADER SITS OVER ITS MARKS -

In .ck-table.is-matrix the marks are centred in their cells, so the entity headers are centred too: thead th:not(:first-child) is text-align: center. With the table's start alignment every label stood about 50px left of the checkbox under it and the grid read as misaligned although no mark had moved. A matrix is read down a column, so the label and its marks share one centre line — measured, to 0px. The first column holds the row labels and stays at the start.

WIDTH FOLLOWS THE DATA -

Decide the width of each column from the data it shows, not from the header text or an even split.

SORT IS ALWAYS VISIBLE; DELETE IS ON HOVER -

A sortable column's sort icon shows at rest (--muted-foreground unsorted, the lit half --primary when sorted) — never only on hover. The column's delete icon is the one revealed on hover and :focus-within. A sort icon at opacity:0 at rest is a finding.

THE SORT ICON IS 12PX -

.ck-th-sort and its glyph are --icon-size-sm, 12 × 12, beside the header label — smaller than the 16px default because it marks the label rather than standing as a control. A 16px sort icon in a table header is a finding.

SORT HAS THREE STATES AND NAMES THE NEXT ONE -

Sort A to Z, Sort Z to A, Clear sorting. The label always names the action coming up next, never the state you are in. Ascending shows the up arrow active and the down arrow faded; descending the reverse; cleared shows both active.

RESIZE HANDLES ON EVERY COLUMN -

Users can adjust column width with a handle. Each column declares its own min width from the shortest data it holds, via --ck-col-min; the max is 400px for every column, because past that a line of text is harder to scan, not easier. The handle works by drag and by arrow key.

A ROW SEPARATOR IS A DOTTED LINE -

Not a solid rule.

AN ERRORED ROW SHOWS A DESTRUCTIVE HOVER HIGHLIGHT -

The row reads as a problem on approach, and says what is wrong in words as well as in colour.

THE COLUMN DELETE SITS ON THE LABEL'S LINE, AT THE FAR RIGHT -

A header's remove control is pinned to the trailing edge of its own cell, vertically centred on the column name. It never falls to a second line — that makes the whole header row grow taller the moment a pointer enters it, which shifts every row beneath. It is hidden and click-through at rest, so it cannot swallow the click that should have sorted the column.

AND IT READS DESTRUCTIVE, LIKE EVERY OTHER DESTRUCTIVE GLYPH -

--icon-color-destructive at rest, the --destructive-bg tint as a rounded-square surface on hover, solid --destructive when pressed. The same three steps a destructive icon button takes. A delete that sits grey until you hover it makes the one irreversible control in the header the quietest thing in it.

A UTILITY CLASS NEVER OUTRANKS THE COMPONENT WEARING IT -

.ck-tip-host and its kind are worn by other controls, so their rules belong in :where() at zero specificity. At full specificity a utility beats every component it is put on, and because these rules sit late in the file it wins ties on order too. The table's column delete lost its positioning to exactly this three times, each fix correct and each one silently outranked.

A SUBORDINATE ROW IS TR.IS-CHILD -

The group rides a --canvas band, not an indent. At a table's row height a 20px indent is barely legible and a hairline in the first column competes with the column borders around it; the band reads as one block whatever the column widths are.

EVERY CHILD CARRIES A TURN-DOWN GLYPH AND A REFERENCE -

.ck-child-mark (Lucide corner-down-right) says "this came from the row above" in a way an indent cannot, and .ck-child-ref names the source document. A child with no reference is just an unexplained extra row.

THE GROUP IS ADJACENCY, NOT AN ID -

The children are the rows following the parent until the next row that is not a child. No matching data-group on both sides to keep in step, and nothing to get wrong when rows are reordered.

STATE LIVES ON THE PARENT'S ARIA-EXPANDED -

Which is also what rotates .ck-row-chev, so the eye and a screen reader cannot disagree. Closing sets .is-collapsing for the clockwise close turn.

Tabs -

Tabs — the live Clipper Kit componentTabs — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

TRUNCATE LONG LABELS FROM THE MIDDLE -

A long tab label truncates in the form Newtab…showup, with the full text shown on hover in a tooltip.

NO GAP BETWEEN THE UNDERLINE AND THE SEPARATOR -

In underline tabs the active indicator sits flush against the separator line.

SELECTION IS ONE TAB -

Selecting a tab releases the others, in every variant.

A FAILED PANEL IS REPORTED ON THE TAB -

.ck-tab.is-error with a dot beside the label. The reader is looking at the strip and needs to know a tab is broken before clicking it, so the state must survive the tab being unselected. A message inside a panel nobody has opened tells nobody anything.

Page head -

THE SCREEN TITLE IS NOT A CARD TITLE -

.ck-page-title names the page; .ck-card-title names a box inside it. When a screen uses the card title for its heading, the page heading and the first card heading come out the same size and the hierarchy reads flat.

A SAVE THAT SUBMITS A FORM DOES NOT LIVE HERE -

It belongs in that form's .ck-card-foot, beside what it saves. Page actions act on the screen.

Card sections -

Card sections — the live Clipper Kit componentCard sections — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE TINTED CARD IS --CARD-SECONDARY -

A card that needs a tinted surface uses --card-secondary with --card-secondary-foreground and --card-secondary-border (.ck-card.is-secondary) — never a hex like #eaf4f6, and never --accent, which means "you are here".

A FORM CARD USES .HAS-SECTIONS, NOT BARE .CK-CARD -

Otherwise the card's own 16px padding stacks on top of the body's, and the inside edge is double-padded. The tell is a form whose fields sit further from the card edge than its heading.

.IS-SCROLL NEEDS A BOUNDED HEIGHT -

It makes the body scroll and the foot stay. If the card is not a flex item in a column with a real height, there is nothing to scroll against and the footer rides up under the content. The tell is a Save row that scrolls away on a long form.

THE FOOT IS THE SAME SURFACE AS THE CARD -

--card, separated by one --panel-border rule. A footer on --background or --muted reads as a second panel welded to the bottom.

Avatar -

Avatar — the live Clipper Kit componentAvatar — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

ONE AVATAR TREATMENT ACROSS THE PRODUCT -

.ck-avatar is a tinted --group plate everywhere: header, menu, table row, member card. A brand-filled avatar on one screen and a plate on the next reads as two different people systems.

.CK-AVATAR-EDIT IS THE ACCOUNT HOLDER'S, AND IT IS EDITABLE -

Do not reach for it to show someone else at a larger size. Its 104px is off the icon-box scale deliberately and is recorded in its spec sheet; its button is 28px, on the control scale.

THE PLATE HAS ITS OWN STROKE -

An avatar's edge is --group-border, not the panel hairline. A panel's stroke is tuned to be nearly invisible, which is right for a panel and wrong for a 24px circle — borrow it and the plate dissolves into the page.

Phone field -

THE CODE PICKER SIZES TO CONTENT, THE NUMBER TAKES THE REST -

Without .ck-dd.is-compact, the picker inherits the field group's width: 100% and a "+1" button renders several hundred pixels wide. This kit has shipped that defect.

FLAGS ARE SMALL: 20×14, ROUNDED -

A country or language picker shows the flag before the value, in the trigger and in every option: .ck-dd.has-icon with the image in .ck-dd-icon, which draws it 20×14 with --radius-xs corners. A flag at another size, square-cornered, or on only some options is a finding.

THE PANEL IS A SIBLING OF THE TRIGGER, NEVER A CHILD -

A .ck-dd-panel nested inside the <button> is invalid markup, and every click on an option is also a click on the trigger.

TYPE="TEL" -

type="number" eats spaces, dashes and leading zeros.

Combobox -

Combobox — the live Clipper Kit componentCombobox — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A COMBOBOX IS FOR A VALUE THAT MIGHT NOT EXIST YET -

If nothing can be created, it should be .ck-dd, which is keyboard-complete and needs no typing. The create row is the whole reason this component is separate; a combobox without one is a dropdown wearing an input.

THE PANEL AND OPTIONS ARE THE DROPDOWN'S -

.ck-dd-panel, .ck-dd-opt, .ck-dd-none. A combobox drawing its own list will drift from every other list in the product.

THE INPUT CARRIES NO CHROME -

No border, no background, no padding of its own. .ck-combo-control is the field.

Editor -

THE TOOLBAR IS AN ACTION BAR, NOT ITS OWN COMPONENT -

.ck-action-bar.is-toolbar. Separators are .ck-divider.is-vertical, never a hand-drawn 1px span.

FOCUS-WITHIN, NOT FOCUS -

What takes focus is the editable area; the stroke belongs to the whole field.

PLACEHOLDER VIA DATA-PLACEHOLDER -

A contenteditable has no placeholder attribute, and a stray text node inside it becomes content the moment someone types.

A REORDERABLE THUMBNAIL HAS BOTH DRAG STATES -

.ck-thumb.is-dragging for the tile in flight and .ck-thumb.is-placeholder for the slot it will land in. A drag has two subjects and one class cannot be both. A grid that can be reordered with neither state is the page drawing them itself.

THE TILE IN FLIGHT IS DIMMED, NOT HIDDEN -

The reader needs to see what they are carrying, and removing it collapses the grid under the pointer.

CURSOR: GRAB HANGS OFF [DRAGGABLE], NOT A CLASS -

So it is true exactly when the attribute that makes the drag possible is present. A tile that looks draggable and is not is worse than one that does not.

A DOCUMENT ROW'S ACTIONS ARE VISIBLE AT REST -

The run used to fade in as a block, so a reader could not tell what a row let them do without pointing at it, and on touch there is no hover to point with. Info, duplicate, download and delete are always on.

ONLY EDIT OPTS OUT, WITH .IS-HOVER-ONLY -

It changes the document rather than reading, copying or removing it, so it stays out of the resting row. The modifier is generic: any single action can opt out, rather than the whole run.

A HOVER-ONLY ACTION KEEPS ITS BOX -

opacity: 0, never display: none. The icons beside it must not shift as it appears.

AND IT REVEALS ON FOCUS -

:focus-within on the row plus :focus-visible on the control. Hover alone leaves a focusable control invisible to a keyboard (check 13). An errored row shows everything: the reader is being asked to act on it.

Navigation list -

Navigation list — the live Clipper Kit componentNavigation list — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THIS IS NOT THE APP RAIL -

.ck-navlist is a panel inside the content area with labelled rows; .ck-sidebar is the app's own edge, icon-only and global. Both get called "the nav".

ARIA-CURRENT="PAGE" AS WELL AS .IS-ACTIVE -

The class paints the current row; only the attribute says it.

BOTH GLYPHS TAKE THE FILL'S PARTNER ON THE CHOSEN ROW -

Left --muted-foreground, they sit on a --primary lozenge below AA.

Matrix table -

Matrix table — the live Clipper Kit componentMatrix table — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

PINNED HEADER *AND* PINNED LABEL COLUMN -

A matrix scrolled into the middle of, with either missing, is a grid of marks belonging to nothing.

BORDER-COLLAPSE: SEPARATE IS REQUIRED, NOT PREFERRED -

A collapsed table drops a sticky cell's borders as it scrolls out.

THE MARK IS STATED TWICE -

Filled with a tick for on, hollow for off. Never colour alone. A read-only grid (.is-readonly) uses a green tick for allowed and a muted dash for not allowed, never a checkbox, and each mark has role="img" with an aria-label.

A READ-ONLY GRID IS NOT INTERACTIVE -

In .ck-table.is-matrix.is-readonly the cells show no hover fill, no focus ring and no pointer cursor, and nothing in them handles a click. A legend under the title names both marks.

Toggle — the segment variant -

Toggle — the segment variant — the live Clipper Kit componentToggle — the segment variant — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A SETTING'S TROUGH IS .CK-TOGGLE-GROUP.IS-SEGMENT, NOT ITS OWN COMPONENT -

There was a parallel .ck-segment that duplicated the group. If you find one, it is drift.

STATE IS ARIA-PRESSED -

Not a class. What is drawn cannot differ from what is announced.

HOVER DOES NOT FILL -

Only the pressed option takes a surface; a trough that fills on hover reads as several selected options.

NOT TABS -

A tab changes what the page shows; a segment changes a value and navigates nowhere.

Searchable dropdown -

Searchable dropdown — the live Clipper Kit componentSearchable dropdown — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

TYPING MARKS THE MATCHES -

As a query is typed, each option that stays shows its matching text marked (mark.ck-match, --highlight-bg) — single, multi, badges and picker forms alike. An option list that filters without marking, or keeps marks after the query is cleared, is a finding.

NO LINES BETWEEN OPTIONS OR UNDER THE SEARCH -

Options and picker rows (.ck-dd-opt, .ck-dd-picker-list) carry no separator between them, and .ck-dd-search has no line under it. Only a .ck-dd-group boundary may carry a rule.

THE CHEVRON COMES FROM ITS TOKEN -

The chevron colour always comes from its colour token so it is identical everywhere. Check for instances with a different stroke width or colour — they exist and they are defects.

MULTI-SELECT IS A CHECKBOX GROUP -

"Several of these can be true" is what a checkbox means. Reserve role="option" and aria-selected for the single-select list.

A SINGLE PICK CLOSES THE LIST; A MULTI-SELECT CLOSES ON AN OUTSIDE CLICK -

A single-select dropdown closes as soon as an option is picked. A multi-select stays open while the reader ticks several, and closes when they click outside it (or press Escape). A single-select that stays open after a pick, or a multi-select that closes on every tick, or does not close on an outside click, is a finding.

CHIPS SIT BELOW THE FIELD -

In the multi-select variant the chosen chips render outside the input, in a row beneath it, and follow the Badge/chip spec. Chips packed inside the field push the text cursor around and make the control grow as the selection does.

IS-PORTAL IS PLACEMENT; IS-OPEN IS VISIBILITY -

The portal rule used to set display:flex too, so a consumer that wanted the positioning got "always visible" welded to it and had to fight that back. A portalled panel carries both classes because it has left its wrapper's subtree; an in-flow one is still shown by .ck-dd.open.

THE MULTI FIELD NEVER SHOWS ITS SELECTION -

.ck-dd.is-multi keeps its placeholder whatever is chosen. Chips inside the trigger grow the control as the selection grows, so the field moves under the pointer while it is being used (check 68).

A SINGLE-SELECT SHOWS ITS VALUE, NEVER A COUNT -

A single-select dropdown shows the chosen value in the field, cleared by the field's own ×. It never shows "1 Selected" or Clear All — those belong to the multi-select, where the field keeps its placeholder.

THE ORDER BELOW THE FIELD IS FIXED -

.ck-dd-summary first — .ck-dd-count on the leading edge, .ck-dd-clear-all on the trailing one, one row — then .ck-dd-tags under it. Not the other way round: the count tells the reader how many before they start reading chips.

EVERY CHIP MULTI-SELECT HAS ONE LAYOUT -

The multi field, the picker panel and any flow's own chip picker read: search (or field), the summary row ("N <Noun> Added" leading, Clear All trailing), the chips, the list. A Clear All at the end of the chip run or in the title, or a count missing above the chips, is a finding. Clear All in that row hovers on the --destructive-bg plate with --destructive-soft-foreground; a bare colour change on hover is a finding.

AN OPEN LIST IS NEVER CLIPPED -

An open dropdown or multi-select panel shows whole — search, rows and its bottom edge. A container with overflow:hidden that cuts the panel off below its search or first row is a finding; give the container the room, or let the panel escape it.

BOTH HIDE WHEN NOTHING IS CHOSEN -

.ck-dd.is-multi:not(.has-value). A count of zero and a Clear All with nothing to clear are two controls that cannot be used.

THE CHIP DISMISS RESTS IN THE CHIP'S FOREGROUND -

Every chip's cross, in .ck-dd-tags, .ck-dd-picker-chips and the single .is-chip form alike, takes the chip's own foreground token at rest — a glyph inside a badge always does — and turns destructive only on hover (--destructive-bg, --destructive-soft-foreground) and press (solid --destructive). A red-at-rest chip cross is a finding. There is no exception for a dismiss that drops a chosen value.

NO CONFIRM, NO CANCEL -

Ticking a row is the change. A Confirm asks the reader to agree to something already visibly done, and a Cancel promises an undo the panel cannot honour. .ck-dd-picker-foot and .ck-dd-foot are gone.

THE TWO EXITS ARE OUTSIDE-CLICK AND ESCAPE -

Escape from anywhere inside the panel, not only from the trigger, and focus returns to the field.

THE PANEL HANGS OFF THE FIELD, NOT THE CONTROL -

.ck-dd.is-multi is field + summary + chips, so top: 100% of the control opens the list below the selection. It anchors to the field's own height and overlays the summary and chips: opening a list is temporary and must not move the page under the reader.

Menu -

Menu — the live Clipper Kit componentMenu — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A MENU'S SEARCH MARKS THE MATCHES -

In a menu with a search row, every item that stays shows its matching text marked on --highlight-bg.

NO LINES BETWEEN MENU ITEMS OR UNDER ITS SEARCH -

Menu items carry no separator between them, and a .ck-menu-search or .ck-menu-all row has no line under it. A rule between items, or under the search or select-all row, is a finding.

THE MENU HEADER IS --MENU-HEADER, NOT GREY -

.ck-menu-header paints --menu-header with --menu-header-foreground: the lightest primary tint (#dff6fc light, #16414f dark, #002b36 high contrast). A --muted or --secondary grey there merges with the header bar's canvas; --accent there reads as selected. The meta line on it must measure 4.5:1 or better.

A SEARCH BOX FILTERS, OR IT IS NOT A SEARCH BOX -

A .ck-dd-search or .ck-menu-search row is markup: the kit styles it and, for a list the page wrote by hand, nothing used to listen to it. So a reader typed into a field labelled "Search statuses…" and watched the list not move — the worst kind of dead control, because it looks like it is working and silently is not. ckListFilter() wires every search input the kit did not build itself; the two that build their own rows from data (ClipperDropdown, ClipperMenu) carry data-ck-search-owned and are left alone. Rows filter out with the hidden ATTRIBUTE, never a class or opacity: 0 — a filtered-out option must leave the accessibility tree too, or a keyboard reader tabs through options nobody can see (check 74, check 76). Matching is a plain case-insensitive substring of the row's own label: not fuzzy, and it never reorders. An empty query restores every row; no match shows the list's one .ck-dd-none / .ck-menu-empty row, made once and reused rather than appended.

A MENU NEVER COVERS ITS OWN DATA -

An overlay menu never overlaps the data it is being used for. It opens above, below, to the left or to the right of the element that owns it.

AN ACTION LIST AND A SELECTION LIST ARE DIFFERENT -

An action list is role="menu" with menuitem rows and closes on activation. A selection list is role="listbox" with option rows and aria-selected, and a multi one adds aria-multiselectable and stays open while you pick.

ONE ITEM HEIGHT, ONE ICON GAP -

Every item the same height with the same gap between glyph and label, and one hover background.

DESTRUCTIVE IS SEPARATED -

A destructive item uses the destructive token and sits below a divider, away from the ordinary actions, so it is never the one you hit by accident.

IT SITS FULLY INSIDE THE WINDOW -

Nothing cut off, and no horizontal scrollbar on the page behind it. A menu hung off a control near the right edge that widens the document is two defects, not one.

IT NEVER COVERS ITS OWN TRIGGER -

On a short window the old code clamped the top upwards until the panel fit, which slid it across the button that opened it. Room is measured beside the anchor, never through it.

ONE PLACEMENT ROUTINE -

ckPlaceOverlay(). A component doing its own getBoundingClientRect() arithmetic is the defect; it is how the two overlays ended up with two different behaviours at the window edge.

THE VALUE LIST IS A MENU NOTHING IS CHOSEN FROM -

.ck-menu.is-list. No hover fill, no pointer, no row focus ring: the rows are values being read. Reveal it only when the chip is genuinely truncated — a list repeating what is already legible is noise.

Dialog -

Dialog — the live Clipper Kit componentDialog — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

NO LINES BETWEEN DIALOG ROWS -

.ck-dialog-row items in a dialog's list carry no separator between them.

NO SEPARATOR LINES IN A DIALOG OR POPOVER -

No rule under the head, over the foot, or beside a split body's rail, in a modal dialog or a popover. Spacing separates the parts: title → content → actions one --container-inset (16px) apart. A border-bottom on .ck-dialog-head, a border-top on .ck-dialog-foot, an <hr>, or a divider on .ck-dialog-rail is a finding.

A SMALL CONFIRM DIALOG IS TITLE, MESSAGE, BUTTONS -

A prompt such as "Discard Unsaved Changes?" (Keep Editing / Discard) is one card: the title, its message, then the buttons, one inset (16px) apart. No back arrow in its head (a prompt has nowhere to go back to), no empty body band between the message and the buttons (the kit hides an empty or hidden .ck-dialog-body), and no top-right × when a footer Cancel or Keep Editing is there — Escape still closes it. A back arrow, an empty band, or an × beside Cancel is a finding.

A DIALOG CASTS A SHADOW -

Dialog boxes have a shadow to separate them from the base panels whenever there is no opaque dark backdrop behind them.

MODAL MEANS MODAL -

A dialog carries aria-modal="true", tints its scrim, traps focus and inerts the rest of the page. Its popover variant does none of those things — same component to look at, two different behaviours.

THE SCRIM TINT GOES ON A PSEUDO-ELEMENT -

Never on the scrim itself, or the panel inside it fades with the backdrop.

FIXED WIDTH TIERS -

Small, medium and large, one overlay opacity, and the close control in the same corner every time.

FOOTER ORDER NEVER FLIPS -

Cancel on the left, primary on the right, in that order, in every dialog in the product. This is the single most-flipped detail in the system, and flipping it turns muscle memory into a mis-click.

DESTRUCTIVE CONFIRMS USE THE DESTRUCTIVE BUTTON -

A dialog that asks before deleting something confirms with the destructive variant, not a default primary.

FULL-SCREEN SCRIM, ALWAYS -

.ck-dialog sits inside .ck-dialog-scrim, which is position: fixed; inset: 0 and paints --scrim at --scrim-opacity. A dialog with no scrim leaves the page behind it bright and apparently clickable, so the reader cannot tell what is still available.

THE POPOVER VARIANT IS NOT AN EXCEPTION TO FIND AND FIX -

.ck-dialog-scrim.is-popover is transparent on purpose: a popover is non-modal and must not dim the page it annotates. If a thing needs the dim, it is a dialog and it takes the full scrim.

THE SPLIT BODY OWNS NO PADDING -

.ck-dialog-body.is-split. Each pane pads itself, so the rail's --muted fill runs the full height — the fill is its edge, with no divider line.

THE RAIL DOES NOT SCROLL WITH THE PANE -

A rail that scrolls away is a heading that left, and the reader loses where they are. 260px, matching the folder navigator.

BOTH FOLD TO ONE COLUMN UNDER 620PX -

A 260px rail beside a pane on a phone leaves neither usable.

THE SPLIT BODY DOES NOT CAP ITS OWN HEIGHT -

.ck-dialog-body.is-split used to set max-height:min(60vh,520px) and clipped a 655px picker to 520px. The dialog owns the viewport cap. Opt in with .is-capped where a cap is genuinely wanted.

THE RAIL AND THE PANE ARE STYLED ON THEIR OWN CLASSES -

Not only as children of .is-split, or neither can be lifted out and used on its own.

THE TITLE IS TITLE CASE -

"Confirm Reconciliation", not "Confirm reconciliation". The body underneath stays sentence case: the title names the dialog, the body says something.

Drawer -

Drawer — the live Clipper Kit componentDrawer — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE ACTIVITY VARIANT IS COMPOSED, NOT DRAWN -

.ck-drawer.is-activity is the drawer head, .ck-search, .ck-tabs.size-sm.is-scroll-x with a .ck-counter.size-sm per tab, a column of .ck-card.size-sm items and a .ck-progress.size-sm in each, and .ck-empty.size-sm when nothing matches. It restyles none of them. Its tabs read, in order, All · In Progress · Uploaded · Scanned · Failed, and all five show at once: the drawer is 540px at its narrowest (--activity-min), with no sideways scroll. The other measurements are the document editor's: 16px head and body insets, 12px between search, filter and list, 8px between items, 8px from an item's row to its bar, a 4px bar. Name is the card title, folder the card sub, the step line --text-sm muted. A bar's tone is its status: in progress .is-running (the lighter --progress-running), uploaded .is-info, scanned .is-success, failed .is-error (destructive red, never warning yellow), and the glyph speaks the same tone. An uploaded card says "Uploaded" and nothing about scanning. Only the list scrolls, and a long filename truncates rather than wrapping so every item keeps one height. It carries the drawer width adjustor on its left edge, [data-ck-resize="start"], from 540 to 720.

AN ACTIVITY CARD'S GLYPH SITS ON THE TITLE LINE -

The status glyph and the percent are top-aligned to the file name: their centres sit on the centre of the title's first line, not midway down the name-and-folder block. Measure: glyph centre minus title-line centre is 0.

A SUBTLE SHADOW ON THE LEADING EDGE -

Beneath it, towards the left-hand edge.

THE FOOTER IS PINNED -

A primary and an optional secondary CTA sit at the bottom-right of the footer, bottom aligned and locked against scroll.

THE CLOSE ICON CHANGES TONE ON HOVER -

Top-right corner, --icon-color by default, destructive on hover — the overlay close, .is-close.

ANATOMY MIRRORS THE DIALOG -

Same header and footer structure, same button order. Only the body scrolls; the header and footer stay pinned.

CONFIRM IS GREEN, CANCEL IS RED -

In Manage columns the rename tick is .tone-success and the cross is .tone-danger. Two opposite answers to the same question must not be drawn in the same neutral grey.

THE FILTER RULE'S REMOVE STEPS LIKE EVERY DESTRUCTIVE CONTROL -

Soft at rest, the --destructive-bg tint on hover, solid --destructive when pressed. It used to jump straight from rest to the solid fill, skipping the step every other destructive control makes.

THE CLOSE ✕ IS THE OVERLAY CLOSE -

Every drawer's close is .ck-icon-btn.size-sm.is-close labelled Close (or Close <Name>): --icon-color at rest, destructive only on hover and press. A red-at-rest .tone-danger ✕ or a grey-hover ✕ is a finding.

EVERY DRAWER GAP IS A DRAWER TOKEN -

Head, tools, body and foot inset by --drawer-inset (16px) on all four sides; the body stacks on --drawer-gap (12px); repeated items on --drawer-list-gap (8px); footer buttons on --drawer-action-gap (8px). A literal, a 20px side, a per-variant body gap, or a tools row with its own bottom padding is a finding: measure that the title, search, first card and footer buttons share one left and one right edge.

ADD FILTER IS ALWAYS LAST -

A new rule is inserted before .ck-filter-add-row. Click Add Filter twice and measure: the button's top must be below the bottom of every .ck-filter-rule.

CLEAR ALL FILTERS CARRIES NO ICON -

.ck-btn.ghost.destructive.size-sm, text only. A leading cross reads as a second close beside the real one.

ENTERED VALUES ARE CHIPS ON --CARD -

Inside .ck-filter-rule-chips a chip is --card with the --neutral-border stroke, never the neutral chip fill, which sits 1.04:1 from --filter-card and disappears.

MANAGE COLUMNS HAS ONE RESET -

Reset to Default, beside the search. The footer holds Done alone; a second Reset in the footer is a finding.

Folder navigator -

Folder navigator — the live Clipper Kit componentFolder navigator — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

ITS SEARCH MARKS THE MATCHES -

A folder whose name matches the query shows the matching letters marked on --highlight-bg.

ITS CHECKBOXES ARE 12PX -

Every document checkbox in the navigator, in every variant, is .ck-check.size-sm: 12 × 12, stroke 1.25px, target 24 × 24. A 16px checkbox in the navigator is a finding.

TWO VARIANTS, USED IN THE RIGHT PLACE -

There are exactly two: the blue-chip variant for the document editor, and the amber-chip variant everywhere else in the product. Using the wrong one is a defect even though both render cleanly.

ONE FOLDER GLYPH AT EVERY LEVEL, AND NO WORKSPACE -

In the standard variant every folder row, at any depth, carries the same single folder glyph, and it does not swap to folder-open when the row opens or is selected. There is no workspace level: a stacked-folders glyph, a row or title called Workspace, or a Create Workspace option is a finding.

A FOLDER ROW ENDS KEBAB · NEW FOLDER · AMBER COUNT -

Every standard folder row, parents included, ends with a horizontal kebab (.ck-folder-tool.is-more), then New Folder (.ck-folder-tool.is-newfolder), then .ck-counter.amber. The two tools are hidden at rest and appear on hover or keyboard focus; the counter shows all the time and does not move when they appear. Another order, a missing counter on a parent, or a tool visible at rest is a finding.

THE HEAD'S PLUS OPENS THE CREATE FOLDER MODAL -

The primary plus in the head goes straight to the Create Folder dialog (data-ck-folder-new), with focus in the name field and Escape closing it. A menu of creation options in between is a finding.

THE TREE'S CHEVRON: RIGHT CLOSED, DOWN OPEN -

Right when a folder is closed, down when it is open — the folder tree's own rule. Every other disclosure — an accordion, a document accordion, an expandable table row — points down when closed and up when open. Clockwise on open and counter-clockwise on close (the tree's declared exception to clockwise-both-ways), in every variant, and in a tree the flow redraws on each toggle. A close that spins the long way round is a finding. A tree resting with closed folders pointing down, a chevron that jumps instead of turning, or one that does not open or close its folder when clicked, is a finding. Indentation per level is one fixed constant, not a value chosen per screen.

EACH LEVEL INDENTS ONE 16PX STEP -

A 12px chevron, 4px to the folder icon, so every level moves exactly 16px right and a child's chevron sits directly under its parent's folder icon — a crisp staircase, as in Google Drive. Levels that drift off that line, a 24px step, or a full-size 16px chevron is a finding.

AN OPEN FOLDER DRAWS ITS RANGE -

A 1px --tree-guide line runs down the whole of an open folder's contents, under its chevron, and fades in as the folder opens; each nested open folder draws its own. No line, a line on a closed folder, a line that stops short of the last child, or one that snaps in without the fade is a finding.

SELECTED, HOVERED AND EXPANDED LOOK DIFFERENT -

Three distinct states. If selected and hovered read the same, the user cannot tell where they are from where they are pointing.

A NESTED GROUP HAS A FIXED HEIGHT AND SCROLLS -

.ck-folder-children is capped at --ck-folder-children-max (270px, just under 8 rows). A folder with sixty documents in it otherwise pushes every folder below it off the bottom of the panel — nothing is lost, because the outer tree scrolls, but the reader has to scroll past one folder's contents to reach the next and the tree stops reading as a list of folders.

THE FOLD CUTS A ROW, ON PURPOSE -

A partial row says there is more below it; a clean edge looks like the list ends. Do not round the cap to a whole number of rows.

OVERSCROLL-BEHAVIOR CONTAIN IS LOAD-BEARING -

Without it, reaching the bottom of the inner list hands the gesture to the outer tree and the whole panel lurches.

ONE SCROLLER PER BRANCH -

A group inside a group that already scrolls does not add a second. Two nested scrollbars is a gesture nobody can aim.

Header bar -

Header bar — the live Clipper Kit componentHeader bar — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE SETTINGS MENU IS ONE LIST, IN ONE ORDER -

The gear opens exactly: Personal Information, Team Members, Role Management, Company Information, Subscription Billing, Help and Support. ClipperHeader builds it for a data-actions run; a hand-built copy uses the same six labels in the same order. Organisation Settings, User Profile, Billing and Subscription, Help Support, or any other order is a finding.

STICK TO THE RULES SET FOR THE HEADER BAR -

They are not advisory.

NO BACKGROUND AND NO BORDER, AT ANY COST -

No background colour and no border colour, in any theme, in either variant.

48PX, ALWAYS -

A fixed height of 48px whether there is a breadcrumb or not.

12PX LEFT AND RIGHT MARGIN — THE CANVAS GAP -

Fixed, always, as a property of the component: padding-inline: var(--canvas-gap), so the header's runs start on the same line as the panels below it.

THE HEADER OWNS NO ATOMS OF ITS OWN -

.ck-avatar.size-lg.is-primary and .ck-icon-btn.size-xs, never a private .avatar or .icon-btn. An organism composes what the kit ships (check 40); a copy inside the organism drifts.

ITS ICONS ARE 16-IN-24, NOT 20-IN-40 -

20-in-40 is the main left navigation's pair and the rail's alone. Every icon outside that rail is a 16px glyph in a 24px box.

Main left navigation -

Main left navigation — the live Clipper Kit componentMain left navigation — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE FLYOUT'S GLYPHS ARE 16 IN 24; THE RAIL'S ARE 20 -

In .ck-sidebar-flyout every glyph — the items, the pin, the foot — is 16px in a 24px frame. Only the rail's own items are 20px. A 13, 12 or 11px flyout glyph, or a 20px one, is a finding.

A SUBMENU IS AN OVERLAY -

Always show the submenu of the left main nav as an overlay. It never shifts the main screen layout.

ONE ACTIVE, ONE HOVER -

A single active treatment (background plus text colour) and a single hover treatment across every item and every level. Collapsed behaviour is the same wherever the nav appears.

LONG NAMES TRUNCATE AND TOOLTIP -

Item names shorten from the middle and carry the full text as a tooltip, including inside the sub-menu overlay.

THE GLYPHS ARE .CK-ICO.SIZE-NAV -

20px in a 40px frame, the one sanctioned second icon size. A bare 16px glyph in a 40px button leaves a 12px margin all round and reads as a small mark adrift in a large target.

Navigation list -

Navigation list — the live Clipper Kit componentNavigation list — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

NO CHEVRONS ON A LIST THAT ONLY SWITCHES PAGES -

A navigation list that only switches pages or tabs (a settings menu, such as Profile Settings) is .ck-navlist.no-chevron: no row shows a chevron, because nothing expands. A chevron on such a list, or chevrons on some rows and not others, is a finding.

THE CHEVRON IS ALWAYS THERE, AND TURNS CLOCKWISE BOTH WAYS -

Closed it points down; open it points right. Opening is three quarters of a turn, closing is the last quarter, and the pair completes one revolution — so the control never unwinds. A chevron that appears only on hover, or only on rows that expand, makes the list look ragged.

THE PANEL FILLS ITS COLUMN, ON --CARD -

A settings nav that stops where its items stop leaves the page ground showing below it and reads as a card that ran out rather than as the side of the screen. --card, not --background, so it is still a surface when the theme changes.

SELECTED TURNS EVERY MARK WHITE -

On the --primary lozenge the label, the leading glyph and the chevron all read --primary-foreground. A glyph left on --icon-color there measures 2.35:1 and vanishes on the one row the reader is looking at.

TWO VARIANTS, NO THIRD -

With a leading glyph or without (.is-plain). The row height does not change between them, so a list of each lines up with the other.

IT IS NOT THE SIDEBAR RAIL -

The rail is the app's own edge: icon-only, global, exactly one of it. This is a list of sections inside a page. Using one where the other belongs is a defect even though both render cleanly.

Typography -

Typography — the live Clipper Kit componentTypography — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

HEADER BAR AND BREADCRUMBS -

18px semibold for the active crumb, 16px semibold for inactive.

PANEL, DIALOG AND DRAWER TITLES -

16px semibold.

CARD TITLES -

14px semibold.

SMALL LABELS, TIMESTAMPS, INPUT, DROPDOWN, SEARCH BOX -

13px regular.

TABLE CELL DATA, HINTS, HELPER TEXT -

12px regular.

BADGE TEXT -

12px.

TABLE COLUMN HEADER TITLES -

11px medium.

TEXT CARRIES A TYPE TOKEN, VIA .CK-TEXT -

.ck-text.size-*.weight-*. A font: shorthand with a literal size or weight — font: 700 18px — is the tell that the scale was not reachable. Both axes are the kit's own scales.

BOLD IS 700 AND HAS A TOKEN -

--font-weight-bold. The weight scale is 400 / 500 / 600 / 700; writing the number is a magic number like any other.

Alert -

Alert — the live Clipper Kit componentAlert — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

AN ALERT IS NOT A TOAST -

They are never confused. An alert is an inline message inside a dialog, a panel or any other container; a toast is transient and floats. If it appears in place and stays, it is an alert.

THE CROSS AND THE ICON ARE INTERCHANGEABLE SIDES -

The cross on the right and the icon on the left may swap sides, but one stays on each edge.

TONE IS NEVER THE ONLY SIGNAL -

The message says what is wrong in words; colour only reinforces it.

Toast notifications -

Toast notifications — the live Clipper Kit componentToast notifications — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

ONE POSITION, BOTTOM RIGHT, EVERY SCREEN -

.ck-toast-stack is the only anchor and no variant moves it. A screen that relocates its toasts to dodge its own Save bar is trading a predictable position for a locally convenient one; the overlap lasts two seconds and is accepted practice. A centred variant existed briefly and was removed for this reason.

ALWAYS TELL THE USER HOW IT ENDED -

Use this component to notify the user of the success or failure — or any other completion state — of any task, small or big. A task that finishes silently is a task the user has to go and check.

ONE CORNER, ONE DIRECTION, ONE DURATION -

Bottom right, stacking in one direction, with a single auto-dismiss duration for the product.

SUCCESS IS SHORT, ERROR SAYS WHAT NEXT -

A success toast confirms in a few words. An error toast says what to do about it — an error the user can only read and not act on belongs in an alert.

Progress -

Progress — the live Clipper Kit componentProgress — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

IT ACTUALLY MOVES -

Wherever a progress bar is used it is animated and interactive, with an increasing percentage. A bar frozen at one value is a picture of a progress bar.

NEVER A DIVIDER -

One height, one radius, one fill. A progress bar is not a decorative rule, and a thin coloured line used to separate sections is a divider wearing the wrong component.

Progress ring -

Progress ring — the live Clipper Kit componentProgress ring — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE RING IS THE BAR, BENT ROUND -

.ck-progress-ring reads the bar's tokens: --track for the unfilled arc, --primary for the fill, and .is-running, .is-info, .is-success, .is-warning, .is-error for the tones. A ring with its own colours, its own track or a different indeterminate motion from the bar is a finding.

FOUR SIZES, FROM TOKENS -

16 / 24 / 40 / 64px with 2 / 3 / 4 / 6px strokes, from --progress-ring-size-* and --progress-ring-stroke-*. A ring at any other size, or a hard-coded one, is a finding.

ROUND CAPS, AND NOTHING AT ZERO -

The fill has round caps like the bar's, starts at twelve o'clock and runs clockwise. At 0 no arc and no dot are drawn.

THE VALUE IS BESIDE IT, EXCEPT AT XL -

role="progressbar" with aria-valuenow/-min/-max and a label; aria-valuenow omitted when indeterminate. The visible value sits in .ck-progress-meta beside the ring; only .size-xl carries it inside.

Divider -

Divider — the live Clipper Kit componentDivider — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

NOT DECORATION -

A divider separates two groups that would otherwise read as one. It does not go after every section break. Two dividers inside a single spacing unit means one is doing nothing.

ONLY WHEN ASKED FOR -

Do not add dividers to tidy a layout. Spacing carries grouping; a divider only confirms it where spacing alone is ambiguous.

ONE TOKEN, ONE THICKNESS -

One colour token, one thickness, and the same vertical margin around it everywhere.

Slider -

Slider — the live Clipper Kit componentSlider — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

SLIDER, PROGRESS BAR AND PROGRESS RING ARE ONE SET OF LIGHT GREYS, NEVER --PRIMARY -

All three share --meter-track (rail) and --meter-fill (fill, about 3:1 on white — and the slider thumb's ring), so they read as one family. The slider's ring steps to --slider-thumb-border-hover on hover and press; disabled is --slider-disabled, lighter than the enabled greys. A fill or ring in --primary competes with the screen's main button and is a finding; so is a disabled slider darker than an enabled one. Progress's semantic tones (success, warning, error, info, running) keep their own colours.

THE VALUE IS ALWAYS VISIBLE -

The current value shows as a label, or as a tooltip while dragging. A slider whose value you can only guess at is a decoration.

ARROW KEYS MOVE IT -

Focusable and operable from the keyboard, arrow keys stepping the value.

Toggle -

Toggle — the live Clipper Kit componentToggle — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

CENTRALLY ALIGNED, NEVER LOPSIDED -

Alignment matters. The toggle is always centrally aligned and never leans in any direction.

ITS GLYPH RESTS IN THE ICON-BUTTON COLOUR -

A toggle button's icon at rest is --muted-foreground, the colour every .ck-icon-btn glyph rests in, so toggles and icon buttons on one bar read as one set. Pressed, it takes the pressed colour with its label.

Switch -

Switch — the live Clipper Kit componentSwitch — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

IN A SETTINGS BLOCK THE SWITCH CENTRES ON THE TITLE -

In .ck-switch-block the switch's centre sits on the centre of the title's first line — 0px, at every switch size — not at the top of the row and not centred on the whole title-and-description block. Measure it: a switch below or above its title's centre is a finding.

BUFFER BETWEEN THE KNOB AND ITS TRACK -

A visible inset on every side, at every size, so the knob never touches the container frame.

DISABLED IS A STATE OF THE WHOLE CONTROL -

Track, knob and label all read as unavailable together.

THE KNOB SITS CENTRED -

The knob is centred in the track at rest and at the end of its travel, at every size. Drift here reads as a broken control.

LABEL SIDE IS FIXED -

The label sits on the same side of the switch in every screen in the product. Pick the side once.

ON IS THE ACCENT TOKEN -

The on state is the single accent token. Never green on one screen and blue on another.

Checkbox -

Checkbox — the live Clipper Kit componentCheckbox — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

TWO SIZES — 16PX, AND 12PX IN A TABLE -

.ck-check is 16px; .ck-check.size-sm is 12px, with the same states and interaction and a 24 × 24 target through ::before. Every checkbox inside a .ck-table is the 12px size. A 16px checkbox in a table row or the folder navigator, or either one mixing both sizes, is a finding.

THE TICK IS CENTRED -

Strictly centrally aligned in its box, not visually low. A rotated check reads low when its *box* is centred, so it is offset against the render, not against the arithmetic.

THE ROW IS THE TARGET -

Where a checkbox sits in a row, clicking anywhere on the row toggles it. Prefer a <label>; use a handler only where the row carries other controls.

INDETERMINATE IS A REAL STATE -

A select-all that is partly on is mixed, and says so.

THE MARK IS CENTRED -

The tick and the indeterminate dash sit dead centre in the box, at every size. This drifts easily and reads as a rendering fault when it does.

CHECKBOXES IN A LIST SHARE ONE VERTICAL LINE -

Every checkbox in a list sits on one vertical line, centred on its row's height. A box that moves sideways with a row's content, or sits high on a tall row, is a finding.

CHECKBOX MEANS MULTI-SELECT -

Use it where several things can be true at once. One-of-several is a radio; an instant on/off is a switch.

Radio -

Radio — the live Clipper Kit componentRadio — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

ONE IS PRE-SELECTED -

A radio group starts with an option chosen, unless an empty start is deliberate. A group with nothing selected gives the user no default and no way back to one.

ONLY FOR CHOICES SEEN TOGETHER -

Radios are for mutually exclusive options visible at the same time. If they do not fit on screen together, it is a select, not a radio group.

PROPORTIONS AND STACKING ARE CONSTANT -

The same dot-to-ring proportion everywhere, and the same vertical gap between stacked options.

THE LABEL IS THE TARGET -

The whole label is clickable, with a constant gap between the ring and the text.

Pagination -

Pagination — the live Clipper Kit componentPagination — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

EVERY WORD IS TITLE CASE, AND THE KIT'S -

"0 of 26 Row(s) Selected", "Total Rows 712", "Rows Per Page", "Go to [2] of 9", and the nav labels First / Previous / Next / Last Page. The bar is the kit's .ck-pag, used as it is; a flow's own pagination markup, wording or casing ("Total rows", "rows per page", "0 of 26 rows selected.") is a finding.

THE PAGE READ-OUT IS "GO TO [N] OF Y" -

.ck-pag-page is the kit's "Go to" label, a page-number field holding the current page, and "of Y". Typing a page and pressing Enter goes there (clamped to 1…Y). A plain "Page 2 of 9" read-out, or a page field that does not move the table, is a finding.

THE NAV BUTTONS HAVE NO BOX; DISABLED JUST FADES -

First, Previous, Next and Last are plain .ck-icon-btn.size-sm: no border and no fill at rest, the --hover-bg plate on hover. A disabled one is the same button with its glyph faded to --icon-color-disabled — nothing else. A stroke or a fill around a nav glyph at rest, or a grey plate or stroke on a disabled one, is a finding.

TOTAL ROWS IS THE WHOLE TABLE -

"Total rows" counts every row of the table across all pages — the flow's data-total — never the rows on the current page. A total that equals the rows on screen is a finding.

"X OF N SELECTED" IS THE CURRENT PAGE -

The selected line counts the rows ticked on this page out of the rows this page shows, and updates as boxes are ticked.

NO CHECKBOXES, NO SELECTED LINE -

When the table's rows have no checkboxes, the bar does not show "0 of N selected" at all — only the total and the controls.

ALWAYS PRESENT, ALWAYS BOTTOM ALIGNED -

Pagination appears during table loading and is always bottom aligned to the footer of the table panel — no matter how many rows there are. Even with one row, it sits at the bottom by default.

SQUEEZED MEANS SCROLL, NOT REFLOW -

The pagination bar is responsive; when the parent panel is squeezed the elements go on scroll rather than wrapping onto a second line.

Accordion -

Accordion — the live Clipper Kit componentAccordion — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

NO LINES BETWEEN ACCORDION ITEMS -

The items of an accordion carry no separator between them, and nor do the rows inside an open item. A rule between items is a finding.

FIXED HEIGHT, RESPONSIVE WIDTH -

The height of the accordion row is fixed; the width follows the parent container.

A ROW RESTS ON WHITE AND TINTS ON HOVER -

Closed or open, errored or not. Opening is not a state the surface reports — the panel below is already the answer. The tone decides which tint arrives.

AN ERRORED ROW KEEPS A DESTRUCTIVE STROKE AT ALL TIMES -

That is what states the problem at rest, since the fill no longer does.

A HEADER THAT CARRIES MORE THAN A TRIGGER IS .CK-ACCORDION-HEAD -

Not a page-built row with the trigger flattened inside it. The row owns the padding, the hover and the focus ring; the trigger keeps only its flex share. A screen overruling .ck-accordion-trigger's height, padding or background is the tell.

THE COUNT AND THE SWITCH ARE SIBLINGS OF THE TRIGGER -

Never inside it. A control inside a button is invalid and the parser closes the button early (check 39).

AN ICON IN THE HEADER IS ITS OWN TARGET -

An action icon, kebab, switch or checkbox in an accordion header has its own click area and never opens or closes the accordion. Only the trigger toggles. The kit's document accordion ignores clicks on buttons, links, inputs, labels and checkboxes in its head; a page handler that toggles on any click in the head is the tell.

THE FOCUS RING SITS ON THE ROW, INSET -

The trigger fills the row, so a ring on the trigger alone stops short of the trailing controls. Inset, or the accordion's radius clips it.

Action bar -

Action bar — the live Clipper Kit componentAction bar — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

TOOLTIP FOR EVERY ICON -

Every icon in the action bar shows its label in a tooltip on hover and focus — except a self-evident one, such as the Clear Selection cross, which takes none (bible check 18).

DEFAULT ICON SIZES WITH A BUFFER -

Use the default icon sizes and keep a decent buffer margin around them at all times.

STANDARD HEIGHT, RESPONSIVE WIDTH -

One standard height for every action bar; the width follows the parent container.

SEPARATE THE CLUSTERS -

There is a sensible and clear separation between clusters of similar action icons, following the law of proximity.

OVERFLOW SCROLLS, IT DOES NOT WRAP -

When the controls do not fit, a horizontal bar scrolls sideways and a vertical bar scrolls down. It never re-stacks into a second row, which moves every control out from under the cursor and changes the bar's height.

Form -

Form — the live Clipper Kit componentForm — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A FORM IS COMPOSED, NEVER RE-DRAWN -

Every part of a form is the kit's own atom or molecule, so a change to the atom reaches the form: a text field is .ck-input-wrap with its .ck-input-clear (the field-clear cross — --icon-color at rest, destructive on hover), a text area .ck-input-wrap.is-textarea, a choice is a .ck-dd (a native <select> carries data-ck-dd so ClipperDropdown upgrades it), the summary is .ck-alert.is-error.size-sm, radios and checkboxes are .ck-radio and .ck-check. A field's accessible name is its label, never its placeholder. A form part with its own paint, or a bare input where the kit has a wrapper, is a finding.

THREE VARIANTS, ONE DIFFERENCE -

.ck-form-grid.cols-1 / .cols-2 / .cols-3. The column count is the only thing that changes between them; the row rhythm, the labels, the action row and the failure behaviour are identical.

ONE PRIMARY ACTION PER FORM -

Exactly one .ck-btn.primary in the action row. A second asks the reader to rank two things the design already said were equal.

COLUMN COUNT FOLLOWS THE CONTENT -

Three columns is for short values only: ids, dates, single-word statuses. Anything holding a sentence takes .span-all.

COLUMNS FOLD, THEY NEVER SQUEEZE -

Three to two under 900px, everything to one under 620px. A 90px input is not a narrow field, it is a broken one.

ROWS ALIGN AT THE TOP -

align-items: start on the grid. Without it the one field showing an error stretches every control beside it and the row loses its baseline — the most common form misalignment in the product.

A SECTION IS A REAL FIELDSET -

.ck-form-section is a <fieldset> and .ck-form-legend its <legend>, so the grouping survives with stylesheets off and a screen reader announces it with every field inside.

EVERY CONTROL IN A ROW COMES OFF THE SAME SIZE STEP -

A 28px select beside a 36px input is the most common form defect in the product.

REQUIRED OR OPTIONAL, NOT BOTH -

data-required on .ck-field-label. Mark whichever is rarer in that form, and mark only that.

Event timeline -

Event timeline — the live Clipper Kit componentEvent timeline — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

EVERY TIME IS HH:MM - DD/MM/YYYY -

A timeline event's time is a <time datetime> rendered 09:20 - 30/09/2026, never a bare 09:20.

IT IS A REAL <OL> -

The order is the content. A stack of divs loses it with stylesheets off and to a screen reader.

THE RAIL IS DRAWN BY THE ITEM, NOT THE LIST -

A border on the container overshoots past the final dot. A pseudo-element per row stops exactly where the last event does.

THE DOT CARRIES A --BACKGROUND RING -

It sits on the rail; without the ring it reads as a bead threaded on the line rather than a marker breaking it.

COLOUR FOLLOWS THE SEMANTIC MAP -

Success, error, warning, info, neutral. Not a colour invented for the event name.

TIMESTAMPS ARE TABULAR -

A column of times that does not align reads as a list of strings, not a chronology.

Audit trail -

IT IS THE TIMELINE, AS TILES -

.ck-timeline.ck-audit on a .ck-audit-track. A screen that draws its own history cards beside the kit's timeline is the defect.

ONE SENTENCE, THEN EVIDENCE -

Actor, verb and object read as one line; values sit on their own labelled line below it, never inside the sentence.

THE VERB CARRIES THE WEIGHT -

.ck-audit-verb is semibold, and red only on an .is-error event.

AN EMPTY VALUE IS A DASH -

A cleared or blank value is .ck-audit-val.is-empty reading “-”, the same dash a table shows for nothing; never an empty box or a word.

DATA IS VIOLET, PLACES ARE NEUTRAL -

A cell or field value takes .is-data; a queue, folder or status stays a plain .ck-audit-val.

EVERY TILE ENDS WITH ITS TIME -

.ck-audit-time, a clock and HH:MM - DD/MM/YYYY, last in the tile.

A THUMBNAIL MEANS AN ATTACHMENT -

.ck-audit-thumb appears only when the event carries a file or image, and it is a button named for the file.

Card — dock, tour and preview variants -

Card — dock, tour and preview variants — the live Clipper Kit componentCard — dock, tour and preview variants — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE DOCK IS A CARD, NOT A DRAWER OR DIALOG -

It does not dim the page, does not trap focus and does not close on an outside click. The reader is expected to keep working with it open.

A FLOATING CARD TAKES --POPOVER -

Not --card. It floats, and the rules binds the surface to the elevation — invisible in light, obvious in dark.

ENTER SENDS, SHIFT+ENTER IS A NEWLINE -

A composer where Enter breaks the line makes the reader hunt for a button on every message.

A COMMENT THREAD IS EVENTS AS CARDS, PEOPLE AS CHAT -

In the comments panel (.ck-drawer.is-comments) and the side pop-over (.ck-card.is-dock): what was done is an .ck-chat-event card on the info tint ending "time · also in Audit Trail"; what people said is a .ck-chat-msg bubble — theirs on the left in --accent with their name inside, yours on the right in --chat-own with no name, the time under each bubble. Every avatar is the kit's .ck-avatar (yours the standard plate, not the filled .is-primary). Your own bubble in --primary, a dark filled avatar, a name above the bubble instead of inside it, or an event shown as a chat message, is a finding.

THE COMPOSER COUNTS AND GUARDS SEND -

The field carries maxlength 150 and a live n/150 count; Send is disabled while the field is empty.

THE THREAD STICKS TO THE BOTTOM ONLY IF THE READER IS THERE -

Forcing a scroll on arrival yanks them away from what they were reading.

USER TEXT IS WRITTEN WITH TEXTCONTENT -

Never innerHTML.

THE TOUR MASK IS THE ONE SANCTIONED UNCOMPOSITED ALPHA -

The cut-out shows the live page, not a knowable surface. Colour still a token, alpha still on --scrim-opacity.

THE PREVIEW CARD MOVES PADDING TO THE BODY -

A header that bleeds to the edge cannot sit in a padded container. Overriding the padding per consumer is how the two drifted apart.

A DOCUMENT TYPE IS NOT A STATUS -

The preview header tint comes from the palette tones, never the five semantic ones.

Split button — `.ck-btn-group` -

Split button — `.ck-btn-group` — the live Clipper Kit componentSplit button — `.ck-btn-group` — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

IT IS A GROUP, NEVER A COMPONENT -

Two real .ck-btn sharing an edge, so every variant, size and state comes free.

THE SEAM IS ONE BORDER, NOT TWO -

The trailing half drops its leading border, so the pair reads as one control divided rather than two that happen to touch.

A FOCUSED HALF LIFTS ABOVE ITS NEIGHBOUR -

Otherwise the ring is clipped on one side by the adjacent border.

Empty state -

Empty state — the live Clipper Kit componentEmpty state — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THE PLACEHOLDER FRAME IS DOTTED -

Dotted lines, not solid.

Empty, loading and error -

Empty, loading and error — the live Clipper Kit componentEmpty, loading and error — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

USE THE RIGHT ONE -

Empty and loading are for when there is no data to show. Errored is for when a process fails to complete. They are not interchangeable.

Spinner and skeleton -

Spinner and skeleton — the live Clipper Kit componentSpinner and skeleton — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

FOR WHEN THERE IS NOTHING TO SHOW YET -

Use a spinner or a skeleton when no data is available to show.

THE PLACEHOLDER IS THE SIZE OF THE THING -

A spinner or skeleton occupies exactly the width and height of the component it stands in for, so nothing moves when the real content arrives.

ONE SHIMMER -

The skeleton animation is identical everywhere: one direction, one speed, one gradient.

Canvas and panels -

Canvas and panels — the live Clipper Kit componentCanvas and panels — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A PANEL ON THE CANVAS CASTS NOTHING -

No shadow. A subtle but evident border stroke, a white background, and --radius-2xl corners.

ONE SPACING RHYTHM -

12px between panels, no gap between the header bar and the first row of panels, 16px above the base footer.

THE HEADER BAR AND THE LEFT NAV ARE ALWAYS PRESENT -

Unless a screen deliberately hides them and reveals them on hover, as the reconciliation details page does.

A SIZEABLE PANEL IS .CK-PANEL.IS-RESIZABLE -

It stops flexing and holds a width; its neighbours keep flex:1 and absorb the difference. A panel given a width without the class still flexes and the drag fights it.

THE CEILING IS THE ROW, NOT A NUMBER -

--ck-resize-max is a preference; the real limit is the row minus every sibling's --ck-panel-min floor, recomputed on each drag. A fixed maximum lets a drag crush the panel next door on a narrow window.

SIZED PANELS FOLLOW THE WINDOW -

Narrowing the viewport re-clamps them. A panel sized at a wide viewport that keeps that width when the window shrinks pushes its neighbours out of the row.

BELOW THE STACK WIDTH THE WIDTHS ARE DROPPED -

A row of sized panels on a phone is a row of unreadable columns. The grip is hidden and the inline width is cleared, so nothing is left fighting a style attribute.

File upload -

File upload — the live Clipper Kit componentFile upload — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

ONE DROPZONE STYLE -

The dashed border, the glyph and the copy are identical everywhere. The drag-over state uses the accent hover token, not a colour invented for the occasion.

IT FITS ITS PARENT -

Width and height follow the container. A dropzone with a fixed pixel size spills out of a narrow panel or floats in a wide one.

SAY THE LIMITS UP FRONT -

Accepted file types and the maximum size are stated before the user picks a file, not revealed in an error afterwards.

THE DROP ZONE READS "DRAG & DROP FILES HERE", WITH ITS FORMATS AS ONE HINT LINE INSIDE -

The title is "Drag & drop files here", then the accepted types and limits as one .ck-dropzone-hint line inside the zone: "PDF, PNG, JPG or TIFF · up to 25 MB each · 50 files max", then "or" and a Secondary Browse Files button. A vague title ("Upload your documents"), formats or limits listed outside the zone or under the dialog title, or a second hint line, is a finding.

EVERY WAY IN SITS INSIDE THE FRAME, AFTER AN "OR" -

Every drop zone's ways in — Browse Files alone, or Browse Files and Take a Photo — are Secondary (.ck-btn) buttons inside the dashed frame under the title and hint, after a plain "or" line (.ck-dropzone.has-actions). A link-styled "or Browse Files", buttons under or beside the frame, no "or", or a frame that is itself a button around them, is a finding.

PER-FILE STATES FOLLOW THE KIT -

Each file's progress, error and remove controls use the Progress and Alert conventions rather than one-offs built into the uploader.

Notification panel -

Notification panel — the live Clipper Kit componentNotification panel — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

NO RELATIVE TIMES -

A notification's time is a <time datetime> rendered HH:MM - DD/MM/YYYY, never "4 minutes ago".

UNREAD IS UNMISTAKABLE -

One unread indicator style, and enough contrast between read and unread that the difference is visible at a glance rather than on inspection.

ONE TIME FORMAT -

Relative ("2 hours ago") or absolute ("14:05, 12 Sep") — pick one and use it for every timestamp in the panel. Mixing them makes two notifications impossible to order by eye.

THE EMPTY STATE IS THE STANDARD ONE -

An empty panel uses the standard empty-state anatomy, not a bare line of grey text.

IT HAS A FAILED STATE, NOT JUST AN EMPTY ONE -

A panel that cannot reach the server must not show the same blank as a reader with nothing waiting. It composes .ck-error-state inside the list, so the header and footer stay put and Retry lands where the reader is looking. A single notification that failed is .ck-notif.is-error.

Icons -

Icons — the live Clipper Kit componentIcons — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THREE ICON SIZES, EACH IN ITS OWN FRAME -

12 in 18 (.ck-ico.size-sm), 16 in 24 (the default) and 20 in 40 (.size-nav, main left navigation only). Each takes --icon-color, stroke 2 and the same tones and states. A glyph at any other size, or a size in the wrong frame, is a finding.

THE HEADER BAR'S SETTINGS IS THE GEAR; EVERYWHERE ELSE IT IS THE SLIDERS -

Lucide settings, the gear, is used in ONE place: the settings control in the header bar's trailing run, which ClipperHeader draws from ClipperIcons. Every other settings control in the kit — the folder navigator's row settings, a labelled Settings button, a Settings menu item, the icon-button demos — keeps Lucide settings-2, the two sliders. The gear is a header-bar decision, not a kit-wide swap, so do not replace the sliders anywhere else.

24 BOX, 16 GLYPH -

The icon view box is 24×24px and the icon is 16×16px. Permanent, everywhere, including every component built from here on.

LUCIDE ONLY -

One icon set, one stroke width, two colours.

A COUNT ON AN ICON IS HALF THE HOST BOX -

.ck-ico-count is 12px on the 24px icon and on a 24px .size-xs icon button, 16px on the 40px rail icon and the 36px icon button. The icon is the subject and the count qualifies it; sized to match the glyph the two stop being icon-plus-count and become two marks of equal weight sharing a corner. One digit is a circle, more grows it sideways and never taller, digits are --text-3xs with tabular numerals, and the separating ring is box-shadow: 0 0 0 2px var(--background) rather than a border so it reads in all three themes. .notif-badge is the same object under its older name — one rule defines both, and a second counter is a check 71 defect.

HOVER IS A ROUNDED SQUARE -

An interactive icon hovers to a rounded-square surface in the accent hover tint, at the same radius and the same padding everywhere. Not a circle on one bar and a square on the next, and never a bare colour change with no surface.

NEVER TWO AT ONCE -

Only one tooltip is visible at a time, and tooltips never overlap each other.

NEVER ECHO A VISIBLE LABEL -

A tooltip that repeats text already on screen beside it adds nothing and covers something. Tooltip the things that have no visible name.

SHORT LABEL ONLY -

A tooltip carries a few words. It never holds rich content, links or anything interactive — if it needs a control, it is a popover.

A TOOLTIP SAYS WHAT IT IS, NOT HOW TO USE IT -

"Resize Column", not "Drag to Resize"; "Sort", not "Click to Sort". When a count is abbreviated (10K), its tooltip shows the exact number (10,000) — ckCount sets it.

ONE STYLE, ONE DELAY -

One background, radius, font size and arrow treatment, and the same open delay everywhere.

ONE MEANING, ONE GLYPH, ONE SET OF PATHS -

Delete is lucide trash-2 and it is the same five paths in every component. The kit was drawing the bin three different ways at once — Lucide trash, an older trash-2 made of <line> elements, and a hand-simplified outline — so a delete looked like a different action depending on where you were standing. Copy path data from Lucide; never redraw a glyph by hand.

ONE CHEVRON, ROUNDED, EVERYWHERE -

Every chevron — breadcrumb separator, folder tree, accordion, dropdown arrow, pagination, navigation list — is Lucide chevron-right / chevron-down (m9 18 6-6-6-6, m6 9 6 6 6-6) with round caps and joins at --icon-stroke, turned for direction. A typed ›, &rsaquo;, > or », a polyline or square-capped chevron, or a heavier stroke beside the others is a finding.

A COLLAPSED TRAIL'S "…" OPENS ITS HIDDEN LEVELS -

Hovering or clicking the "…" in a long breadcrumb opens a list of every hidden crumb, in trail order top to bottom, each one going where its crumb goes, under the whole path — five crumbs to a line at most, the current one strong. A "…" that only shows the path in a tooltip, does nothing, lists the levels out of order, opens without the path on top, does not open on hover, or closes when clicked (a click keeps it open until an outside click, Escape or a pick) is a finding.

HELP IS THE INFO ICON -

Help and explanation use Lucide info (a circle with an i). An alert glyph — circle-alert, triangle-alert — means something is wrong, so on a help mark it reads as an error that is not there.

THE NAV VARIANT IS THE ONLY SECOND SIZE -

.ck-ico.size-nav is a 20px glyph in a 40px frame, and it belongs to the main left navigation and nothing else. Anywhere else, the glyph is 16px. A third size is a change to the rulebook, not to a screen.

THE RAIL BUTTON AND ITS GLYPH READ THE SAME TOKENS -

--icon-box-nav sizes both .ck-sidebar-item and .ck-ico.size-nav, so the button and the glyph inside it cannot drift apart. A hardcoded width: 40px on one of them is how they do.

Avatar -

Avatar — the live Clipper Kit componentAvatar — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

THREE MODES, NOTHING INVENTED -

A photo, two initials, or a glyph when there is neither. The glyph is the mode for an unclaimed seat or a system actor, and it exists so call sites stop inventing a "?" — which reads as an error rather than an absence.

ONE PLATE EVERYWHERE -

The same avatar treatment in the header, the menu, a table row and a member card. A brand-filled circle in one place and a tinted plate in another reads as two different people systems.

INITIALS ARE TWO, UPPERCASE -

Pass two characters, not a name. The class uppercases them; three or more overflow the plate at the small size.

ON THE ICON-BOX SCALE -

20 / 24 / 32, so an avatar lines up with a glyph in the same column. The 104px edit avatar is the one exception and is deliberate — it is the only place a face is shown large enough to judge.

AN IMAGE AVATAR CARRIES ALT -

The person's name, unless their name is already beside it, in which case the image is decorative and takes an empty alt. A row that announces the name twice is worse than one that announces it once.

A STACK OVERLAPS AND COUNTS -

Several people in one row's width use .ck-avatar-stack: a third overlap, a ring in the surface colour so each plate stays readable, and an overflow count that is the same plate so +4 lines up with the faces.

Number stepper -

3

NO BROWSER SPINNER -

Never <input type="number"> restyled. The engine's own spinner cannot be styled, differs per browser, and vanishes on touch. Use .ck-stepper.

18PX GLYPH, 24PX TARGET -

Two buttons stacked in a 36px control leave 18px each, under WCAG 2.5.8. Each carries an ::after that grows the hit area without moving the glyph.

TABULAR FIGURES ON THE VALUE -

Without font-variant-numeric: tabular-nums the control changes width between 1 and 8 and the row twitches.

DISABLE AT THE BOUND -

A button that accepts a click and refuses to act reads as broken. Dim it and set pointer-events: none.

THE PAGE OWES IT ARIA -

The kit ships no JS for this one. role="spinbutton" with aria-valuenow / -valuemin / -valuemax, both buttons labelled, and Arrow Up / Down stepping the value are all the page's to wire.

Panel width adjustor -

Panel
[data-ck-resize] — 6px to grab, 1px to see

BOUNDS ARE MANDATORY -

Declare --ck-resize-min and --ck-resize-max on the panel. Without them a drawer drags to 40px and hides the data it exists to show, or to the full viewport and stops being a drawer.

6PX TO HIT, 1PX TO SEE -

The strip is 6px wide and draws a 1px rule that only appears on hover, focus or drag. Don't widen the rule to match the target.

DIRECT CHILD OF THE PANEL -

ckPanelResize() reads grip.parentElement as the panel. A wrapper between the two breaks it.

KEYBOARD RESIZES IT -

It is a real <button>: Arrow Left and Arrow Right must move the edge. A handle that only answers a drag fails the keyboard pass.

Shadows and elevation -

Resting panel — no shadow
Overlay — one subtle shadow

MAIN PANELS CAST NOTHING -

Panels sitting directly above the canvas have no shadow.

OVERLAYS CAST ONE SUBTLE SHADOW -

Overlay menus, dialogs and drawers take shadow-md at x-0, y-1.

TOOLTIPS NEVER CAST ONE -

Under any circumstances.

Grid layout -

Grid layout — the live Clipper Kit componentGrid layout — the live Clipper Kit component, dark theme
From the live kit · clipper-kit.vercel.app

A GRID IS 4, 6, 8, 10 OR 12 COLUMNS, WITH THE CANVAS GAP -

.ck-grid.cols-N with --grid-gutter between columns and rows, and parts on .span-N. Any other column count, a hand-set gutter, or a part with a fixed pixel width that ignores the columns is a finding.

THE LINES ARE A CHECK, NOT A LOOK -

[data-ck-grid-lines] draws the columns and the 8px lines to check alignment by eye; it is never left on in a finished screen.

UNDER 720PX IT IS 4 COLUMNS -

Every grid falls to 4 columns and wide spans take the whole row; a 12-column grid squeezed onto a phone is a finding.