Text
Plain coloured text for the runs that aren't a Badge, a Chip, or a link.
A <span> with one of crisp's two ambient text colours — tone="default" (the app's primary
text colour) or "muted" — for the plain runs of text that aren't any of crisp's other typed
things: a cell's own yes/no, an empty-state caption, a secondary line under a heading. One
component so every such spot reaches for crisp's own tokens instead of each hand-writing its
own colour utility for the same two values.
Text sets no font-size, weight, or line-height of its own — it inherits type from context,
the same choice MiddleTruncate makes for the same reason: plain text has no single measured
size across the app (a table cell, a label, a caption are all different sizes).
Installation
npm install @crisp-ui-kit/crispProps
Prop
Type
Notes
brand/dangerreuse tokens already measured against Attio for the same colours in a different arrangement, not a fresh value:brandisfgBrandContrast(crisp#897 — the plain accent,bgBrandSolid, only clears 3.23:1 as text on a white page; the darker contrast-safe sibling clears 4.5:1+), the same colourTextLink's ownbrandtone uses.dangerisfgDanger(a solid critical/destructive label — an overdue due-date, a destructive menu item's own text), notfgDangerSoft(a soft Badge pill's text, a different measured hex).asChildrenders the given element directly (RadixSlot), with no wrapping<span>— pass a<div>/<p>/<li>and it keeps that element's own block layout untouched (crisp#757: a fixeddisplay: inlineon the class used to override it).