Pro
Honeycomb grid
An app grid in the style of a watch: round items packed in a honeycomb that shrink and gather toward the edges, so the middle is always the largest. Drag to move around with a fling; the item nearest the middle is named underneath, and the focused item glides to the centre.
pnpm dlx shadcn@latest add @caliper/honeycomb-gridWhen to use
Use it for
- A launcher or quick-switch for many destinations on a small or square surface.
- Showcases where the arrangement itself is the delight: integrations, apps, team avatars.
Skip it when
- Lists people scan by name; a grid with labels is faster.
- Fewer than about seven items, where there is no edge to shrink toward.
Decisions
Why it is built this way, so you know what to keep when you change your copy.
Behaviour
- The lens
- Size falls with the square of distance from the middle and positions are pulled inward by a soft curve, so the edge is crowded and small but never cut off.
- Tap to centre, tap to open
- A pointer press on an off-centre item brings it to the middle first; Enter opens whatever is focused.
- A list of buttons
- Every item is a named button in ring order; arrows step to hex neighbours (Shift for the other diagonal) and focus glides it to the centre.
Styling
- Apps have hues
- Give an item a
tone(theBadgehues) and it becomes a coloured mark with a white glyph, the same fill as company marks in both themes; without one it stays plain.
Installation
pnpm dlx shadcn@latest add @caliper/honeycomb-grid
Adds its 3 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.
Usage
Import it from your copy of the source. The example behind the preview comes with the source. It is built from HoneycombGrid and honeycombCells.
import { HoneycombGrid, honeycombCells } from "@/components/ui/honeycomb-grid"
The worked example comes with Pro
The 51-line example behind the preview opens here, ready to copy.
- 576 Pro parts, blocks and page templates, all with source
- $199 once, with a year of updates. What you have stays yours
- A full refund within 14 days if it is not for you
API reference
HoneycombGrid
component
Also accepts the native props of its root element and a ref.
honeycombCells
component
No props of its own; it accepts the native props of its root element.
Accessibility
It exposes list and listitem semantics, with aria-label and aria-hidden kept in step with state.
No custom key handling; Tab and the native activation keys do the work.
Motion
It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.
Related
- DockA floating dock of icon destinations with a gliding active pill.
- Bubble packChoices as bubbles sized by weight, packed together like froth. They pop in from the middle and settle; the one under the pointer or focus swells and nudges its neighbours; chosen bubbles take the accent. Drag one to fling it and the rest make room.
- Infinite canvasA board of cards that goes on in every direction. Drag anywhere and let go to glide; cards draw back a little while it moves and settle when it stops. Every second column sits half a card lower, so it reads as a wall.