Components
TextLink
Inline navigable text — a card's trailing "View all →", an in-context reference link.
Available since@crisp-ui-kit/crisp@0.54.0
A real <a href> always, the same href+onClick division StatList uses: href gives
ordinary browser behaviour (new tab, copy link, hover status), an onClick that calls
event.preventDefault() pairs it with client-side routing (e.g. react-router's own Link).
Two tones, reusing already-measured type and colour values rather than a fresh guess — this exact "small trailing link" isn't a distinct Attio component to point a CDP session at, it's a reuse in a new arrangement:
brand(default font-size 12px) — bold, always brand-coloured. A card's own trailing "View all →".muted(default font-size 13px) — quiet until hover, then brand-coloured. An in-context reference link, e.g. a sample record under a finding.
Installation
npm install @crisp-ui-kit/crispProps
Prop
Type
Notes
sizeoverrides the tone's own font-size only — colour, weight and hover stay whatevertonegives. Omit it and each tone keeps its own hard-coded size (brand12px,muted13px) unchanged."lg"(14px) matches aDataTableprimary-column's own ambient size (crisp#874) — measured live againstinternal/grc's two primary-column record links, both 14px/500 ambient, inherited fromDataTable's own.crisp-datatable-entity-name.brandisfgBrandContrast, notbgBrandSolid(#0298d9) directly — as text on a white page the accent itself only clears 3.23:1 against AA; the darker contrast-safe sibling clears 4.5:1+ (crisp#897).