Components
PersonChip
A person, as a chip — a small avatar plus their name, truncating with an ellipsis.
Available since@crisp-ui-kit/crisp@0.54.3
Attio's own actor chip (measured live on techpartners, Tasks page, "Assigned to" column): a
16px circular avatar (a photo, or hashed-colour initials when none is given) in a neutral
Chip, gap: 3px between avatar and name. Every other value — the pill's height, padding,
radius, ring and text — is already Chip's, unchanged; PersonChip adds no recipe of its own.
Installation
npm install @crisp-ui-kit/crispProps
Prop
Type
Notes
avataris a photo URL; omitted, the avatar falls back to a per-name hashed-colour initials tile (one of 5 tones — the same setDataTable's ownavatarTone="hashed"picks from), so two different people reliably get two different colours without a real photo.mutedde-emphasises the name only (fgNeutralMuted, the same tokenText's owntone="muted"uses) — the avatar keeps its full-strength tone, so the chip still reads as a distinct person, not a disabled control.trailingrenders after the name, inside the chip's own flex row, for one more thing that must never shrink or wrap out of view (an icon, a small badge) — a consumer wrappingPersonChipin its own row for this used to need its ownmin-width: 0to keep shrinking correctly, and overflowed its container without it (#668, fixed by #683).- Ellipsis-truncates on overflow, no tooltip on hover — a truncated cell in Attio is revealed by the cell's own click-to-expand, not a chip tooltip (#623).