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.
var(--primary)var(--destructive)#3b5bdb#e8590cClipper Kit v3.2 · Staple AI
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.
These apply to every component, everywhere. Check them first.
Fails when: a hex, an rgb(), or a magic number sits in a component rule. If no token fits, mint one — never inline it.
var(--primary)var(--destructive)#3b5bdb#e8590cFails 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.
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.
--popover--backgroundFails when: default, hover, active, focus-visible, disabled or invalid is missing.
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.
Fails when: anywhere content can be absent, only one or two of the three exist.
Fails when: a size class that is not in the rules, or a control whose height does not match the row it sits in.
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.
Fails when: optical centring, padding symmetry, row centres or a field's text inset off by more than 1px.
Fails when: any of the five tiers in the rules broken.
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.
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.
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.
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.
Fails when: text under 4.5:1, or a non-text affordance under 3:1.
Fails when: an interactive area smaller than that. The target can be bigger than the glyph it holds, and usually should be.
Fails when: any font-size or font: shorthand carrying a literal. Text reads --text-*.
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.
Fails when: wrong glyph size, stroke, box or colour count.
16px glyph · 24px box · 2px stroke22px glyph · 1px strokeFails 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.
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.
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.
Sort A to Znames the actionSorted ascendingdescribes what you can already seeFails 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Fails when: a label or glyph off-centre in its control, or a segmented group whose items do not line up with each other.
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.
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.
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.
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.
Fails when: selection or checkedness carried by a class with no aria-selected / aria-checked, or a glyph-only control with no aria-label.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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}.
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.
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.
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.
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.
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).
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).
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.
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.
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.
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.
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.
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.
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).
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).
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).
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.
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.
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.
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.
Only read the components the screen actually uses.
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.
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.
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.
.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.
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.
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.
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 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.
Tooltips never have a shadow beneath them.
Every overlay backdrop sits at --z-overlay, everywhere, with no exceptions and no per-flow z-index.
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 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.
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.
Anything a user can see about a control's state — selected, checked, expanded, busy, invalid — is also in the markup for a screen reader.
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.
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.
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.


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.
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.
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.
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.
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.
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.
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.
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.
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.
Every chip and pill takes a full radius. The counter is the only exception.
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.
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.
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.
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.
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.
.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.
--radius-md. At --radius-full a single glyph in a round box reads as an avatar or a button.
aria-label is required, and the tooltip is the kit's own.
The 24px step is at the WCAG 2.5.8 floor; the ::after extends the hit area without moving the glyph.
.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.
Any Lucide pair, both inheriting the tone through currentColor. The variant owns the geometry, not the meaning.
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.


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.
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.
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.
Decide the width of each column from the data it shows, not from the header text or an even split.
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.
.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 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.
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.
Not a solid rule.
The row reads as a problem on approach, and says what is wrong in words as well as in colour.
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.
--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.
.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.
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.
.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 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.
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.


A long tab label truncates in the form Newtab…showup, with the full text shown on hover in a tooltip.
In underline tabs the active indicator sits flush against the separator line.
Selecting a tab releases the others, in every variant.
.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.
.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.
It belongs in that form's .ck-card-foot, beside what it saves. Page actions act on the screen.


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".
.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.
--card, separated by one --panel-border rule. A footer on --background or --muted reads as a second panel welded to the bottom.


.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.
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.
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.
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.
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.


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.
.ck-dd-panel, .ck-dd-opt, .ck-dd-none. A combobox drawing its own list will drift from every other list in the product.
No border, no background, no padding of its own. .ck-combo-control is the field.
.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.
DATA-PLACEHOLDER -A contenteditable has no placeholder attribute, and a stray text node inside it becomes content the moment someone types.
.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 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.
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.
.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.
opacity: 0, never display: none. The icons beside it must not shift as it appears.
: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.


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.
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.
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.


.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.
ARIA-PRESSED -Not a class. What is drawn cannot differ from what is announced.
Only the pressed option takes a surface; a trough that fills on hover reads as several selected options.
A tab changes what the page shows; a segment changes a value and navigates nowhere.


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.
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 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.
"Several of these can be true" is what a checkbox means. Reserve role="option" and aria-selected for the single-select list.
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.
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.
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.
.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 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.
.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.
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 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.
.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.
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.
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.
Escape from anywhere inside the panel, not only from the trigger, and focus returns to the field.
.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.


The height of the search box is never compromised in any situation.
The search icon is the right-most icon. The cross appears to the left of the search icon, with an 8px gap between them.
A search box standing on its own — a toolbar, a page or card head — is 300px wide. Inside a menu, dropdown, drawer or column tools it fills its row instead (check 33). The search icon is on the right and the clear × appears while there is typed text, as above.
A search box scrolls horizontally; only read-at-a-glance text truncates.


.ck-dialog-row items in a dialog's list carry no separator between them.
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 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.
Dialog boxes have a shadow to separate them from the base panels whenever there is no opaque dark backdrop behind them.
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.
Never on the scrim itself, or the panel inside it fades with the backdrop.
Small, medium and large, one overlay opacity, and the close control in the same corner every time.
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.
A dialog that asks before deleting something confirms with the destructive variant, not a default primary.
.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.
.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.
.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.
A rail that scrolls away is a heading that left, and the reader loses where they are. 260px, matching the folder navigator.
A 260px rail beside a pane on a phone leaves neither usable.
.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.
Not only as children of .is-split, or neither can be lifted out and used on its own.
"Confirm Reconciliation", not "Confirm reconciliation". The body underneath stays sentence case: the title names the dialog, the body says something.


.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.
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.
Beneath it, towards the left-hand edge.
A primary and an optional secondary CTA sit at the bottom-right of the footer, bottom aligned and locked against scroll.
Top-right corner, --icon-color by default, destructive on hover — the overlay close, .is-close.
Same header and footer structure, same button order. Only the body scrolls; the header and footer stay pinned.
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.
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.
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.
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.
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.
.ck-btn.ghost.destructive.size-sm, text only. A leading cross reads as a second close beside the real one.
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.
Reset to Default, beside the search. The footer holds Done alone; a second Reset in the footer is a finding.


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.
They are not advisory.
No background colour and no border colour, in any theme, in either variant.
A fixed height of 48px whether there is a breadcrumb or not.
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.
.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.
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.


18px semibold for the active crumb, 16px semibold for inactive.
16px semibold.
14px semibold.
13px regular.
12px regular.
12px.
11px medium.
.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.
--font-weight-bold. The weight scale is 400 / 500 / 600 / 700; writing the number is a magic number like any other.


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 on the right and the icon on the left may swap sides, but one stays on each edge.
The message says what is wrong in words; colour only reinforces it.


.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.
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.
Bottom right, stacking in one direction, with a single auto-dismiss duration for the product.
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.


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.
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.


.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.
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.
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.
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.


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.
Do not add dividers to tidy a layout. Spacing carries grouping; a divider only confirms it where spacing alone is ambiguous.
One colour token, one thickness, and the same vertical margin around it everywhere.


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 current value shows as a label, or as a tooltip while dragging. A slider whose value you can only guess at is a decoration.
Focusable and operable from the keyboard, arrow keys stepping the value.


Alignment matters. The toggle is always centrally aligned and never leans in any direction.
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.


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.
A visible inset on every side, at every size, so the knob never touches the container frame.
Track, knob and label all read as unavailable together.
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.
The label sits on the same side of the switch in every screen in the product. Pick the side once.
The on state is the single accent token. Never green on one screen and blue on another.


.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.
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.
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.
A select-all that is partly on is mixed, and says so.
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.
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.
Use it where several things can be true at once. One-of-several is a radio; an instant on/off is a switch.


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.
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.
The same dot-to-ring proportion everywhere, and the same vertical gap between stacked options.
The whole label is clickable, with a constant gap between the ring and the text.


"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.
.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.
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" 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.
The selected line counts the rows ticked on this page out of the rows this page shows, and updates as boxes are ticked.
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.
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.
The pagination bar is responsive; when the parent panel is squeezed the elements go on scroll rather than wrapping onto a second line.


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.
The height of the accordion row is fixed; the width follows the parent container.
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.
That is what states the problem at rest, since the fill no longer does.
.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.
Never inside it. A control inside a button is invalid and the parser closes the button early (check 39).
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 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.


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).
Use the default icon sizes and keep a decent buffer margin around them at all times.
One standard height for every action bar; the width follows the parent container.
There is a sensible and clear separation between clusters of similar action icons, following the law of proximity.
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.


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.
.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.
Exactly one .ck-btn.primary in the action row. A second asks the reader to rank two things the design already said were equal.
Three columns is for short values only: ids, dates, single-word statuses. Anything holding a sentence takes .span-all.
Three to two under 900px, everything to one under 620px. A 90px input is not a narrow field, it is a broken one.
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.
.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.
A 28px select beside a 36px input is the most common form defect in the product.
data-required on .ck-field-label. Mark whichever is rarer in that form, and mark only that.


A timeline event's time is a <time datetime> rendered 09:20 - 30/09/2026, never a bare 09:20.
<OL> -The order is the content. A stack of divs loses it with stylesheets off and to a screen reader.
A border on the container overshoots past the final dot. A pseudo-element per row stops exactly where the last event does.
--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.
Success, error, warning, info, neutral. Not a colour invented for the event name.
A column of times that does not align reads as a list of strings, not a chronology.
.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.
Actor, verb and object read as one line; values sit on their own labelled line below it, never inside the sentence.
.ck-audit-verb is semibold, and red only on an .is-error event.
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.
A cell or field value takes .is-data; a queue, folder or status stays a plain .ck-audit-val.
.ck-audit-time, a clock and HH:MM - DD/MM/YYYY, last in the tile.
.ck-audit-thumb appears only when the event carries a file or image, and it is a button named for the file.


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.
--POPOVER -Not --card. It floats, and the rules binds the surface to the elevation — invisible in light, obvious in dark.
A composer where Enter breaks the line makes the reader hunt for a button on every message.
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 field carries maxlength 150 and a live n/150 count; Send is disabled while the field is empty.
Forcing a scroll on arrival yanks them away from what they were reading.
TEXTCONTENT -Never innerHTML.
The cut-out shows the live page, not a knowable surface. Colour still a token, alpha still on --scrim-opacity.
A header that bleeds to the edge cannot sit in a padded container. Overriding the padding per consumer is how the two drifted apart.
The preview header tint comes from the palette tones, never the five semantic ones.


Input, textarea, select, search box, dropdown (single, multi, chip, picker) and combobox: --muted ground, --muted-foreground text and label, faded glyphs, no clear, no chip dismiss, no Clear All, cursor: not-allowed. Disabling the control, its wrapper (.is-disabled) or a <fieldset disabled> all produce it. A disabled control drawn at rest, one built on opacity, or a disabled dropdown or combobox whose list still opens, is a finding.
Every field control — .ck-input, .ck-select, .ck-textarea, .ck-dd-trigger, .ck-combo-control, the search box's input, .ck-editor, .ck-stepper, .ck-otp, .ck-action-bar-field, an in-cell editor — rests on --field-border (#d0d3d3 in light), 1px, all four sides, and so do its disabled and read-only states. --input on a resting field is a finding: it is the darker outline-control and disabled-text colour, and on a field it pulls the eye to an empty form. Hover still steps to --input-border-hover, focus to --primary. At 1.51:1 on white the resting edge sits below the 1.4.11 3:1 line by the design owner's decision; the field's label is what identifies it.
Labels and dropdowns truncate. An input box and a search box scroll horizontally. A textarea scrolls vertically.
The component and its siblings are responsive to the parent container.
The height matches the icon and button height when placed on the same line, and that height is an even number.
.ck-field stacks the label over its control with --space-xs (4px) between them, and every field in a form is the same distance from the next. A label beside its field, or gaps that differ from field to field, is a finding.
Every field that can hold text carries the same cross in the same place: inside the box, hard against the trailing edge, shown on hover and while the field is being edited. Input, text area and search all use it, so the eye learns one spot. ckFieldClear() wires it — put .ck-input-wrap around the field and the button is created for you.
.ck-field-error ships at display:none and is revealed by the control's own aria-invalid="true". A form that opens with its errors showing has told the reader off for arriving.
The right moments are leaving a field that has a value, and submitting. Tabbing through an empty form must not light it up.
An error that outlives its cause is worse than none: the reader fixes the field and the form still calls them wrong.
Two lines of small print under one control, one grey and one red, is noise at the moment a single instruction matters most.
"Invoice Number" over the field, "Leave blank for a non-PO invoice." under it.
.ck-input-wrap.has-value takes 40px of trailing padding: the cross sits 8px from the edge and is 24px wide, so the text must stop 8px before it starts. Without it the text box runs on underneath the button and a long value collides with it (check 63).
.has-value:hover and .has-value:focus-within. Once shown it rests in --icon-color and hovers destructive. A cross sitting in every filled field at rest is noise; one that only appears on hover is unreachable by keyboard. Both, and neither alone.
Reaching the cross by keyboard means tabbing past the field, pressing it and being returned. Escape does it from where the reader already is. Only when there is a value, so Escape keeps its other meanings on an empty field — and never on a textarea, where it is the reader's way out of a long edit and wiping the paragraph is not recoverable.


Dotted lines, not solid.


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.


Use a spinner or a skeleton when no data is available to show.
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.
The skeleton animation is identical everywhere: one direction, one speed, one gradient.


No shadow. A subtle but evident border stroke, a white background, and --radius-2xl corners.
12px between panels, no gap between the header bar and the first row of panels, 16px above the base footer.
Unless a screen deliberately hides them and reveals them on hover, as the reconciliation details page does.
.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.
--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.
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.
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.


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.
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.
Accepted file types and the maximum size are stated before the user picks a file, not revealed in an error afterwards.
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 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.
Each file's progress, error and remove controls use the Progress and Alert conventions rather than one-offs built into the uploader.


A notification's time is a <time datetime> rendered HH:MM - DD/MM/YYYY, never "4 minutes ago".
One unread indicator style, and enough contrast between read and unread that the difference is visible at a glance rather than on inspection.
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.
An empty panel uses the standard empty-state anatomy, not a bare line of grey text.
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.


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.
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.
The icon view box is 24×24px and the icon is 16×16px. Permanent, everywhere, including every component built from here on.
One icon set, one stroke width, two colours.
.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.
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.
Only one tooltip is visible at a time, and tooltips never overlap each other.
A tooltip that repeats text already on screen beside it adds nothing and covers something. Tooltip the things that have no visible name.
A tooltip carries a few words. It never holds rich content, links or anything interactive — if it needs a control, it is a popover.
"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 background, radius, font size and arrow treatment, and the same open delay everywhere.
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.
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 ›, ›, > or », a polyline or square-capped chevron, or a heavier stroke beside the others is a finding.
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 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.
.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.
--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.


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.
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.
Pass two characters, not a name. The class uppercases them; three or more overflow the plate at the small size.
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.
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.
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.
Never <input type="number"> restyled. The engine's own spinner cannot be styled, differs per browser, and vanishes on touch. Use .ck-stepper.
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.
Without font-variant-numeric: tabular-nums the control changes width between 1 and 8 and the row twitches.
A button that accepts a click and refuses to act reads as broken. Dim it and set pointer-events: none.
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.
[data-ck-resize] — 6px to grab, 1px to seeDeclare --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.
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.
ckPanelResize() reads grip.parentElement as the panel. A wrapper between the two breaks 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.
Panels sitting directly above the canvas have no shadow.
Overlay menus, dialogs and drawers take shadow-md at x-0, y-1.
Under any circumstances.


.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.
[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.
Every grid falls to 4 columns and wide spans take the whole row; a 12-column grid squeezed onto a phone is a finding.