Skip to content
caliper ui pro docs

Spotlight grid

A grid where a spotlight follows the pointer.

Pro
  • Fast by default

    Windowed lists, lazy canvases and no layout shift.

  • Accessible first

    Keyboard, screen reader and reduced motion are release requirements.

  • Themeable

    One set of tokens drives light, dark and your brand.

  • You own the code

    Components are copied into your project to edit freely.

  • Motion with purpose

    Animation explains a change, then gets out of the way.

  • Composable

    Small primitives that fit together instead of one giant API.

When to use

  • Feature lists on a dark landing page.

When not to use

  • Touch-first pages.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/spotlight-grid

Adds its 2 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

SpotlightGrid

2 props
PropTypeDefault
items *readonly SpotlightItem[]—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It is built on native elements and keeps aria-hidden in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/spotlight-grid.md

The index of every part is at /llms.txt.

More in Showpiece sections