Customer galaxy
Customers as points in a galaxy, grouped by segment.
16,100 customers. Choose a segment to isolate it.
When to use
- Showing clusters in a large base.
When not to use
- Reading single records.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/customer-galaxy
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
CustomerGalaxy
3 props
PropTypeDefault
label *string—
groups *readonly GalaxyGroup[]—
classNamestring—
Keyboard
- →
- Moves to the next item or value.
- ←
- Moves to the previous item or value.
Accessibility
It exposes img and status semantics, with aria-label, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Motion
- State changes animate with the library's shared durations and curves, so its timing matches every other part.
- Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/customer-galaxy.mdThe index of every part is at /llms.txt.