Skip to content
Menu

Cards

Spotlight card

Spotlight card: Cards whose 1px border and surface light up around the pointer, with the highlight carrying across a row of stat tiles.

Using Spotlight card

Spotlight card uses the wide preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
colorcolor#38BDF8No additional limit in the metadata.
radiusnumber260From 120 to 400; step 10
borderOnlybooleanfalseNo additional limit in the metadata.
Which frameworks are available for Spotlight card?

Spotlight card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Spotlight card depend on?

The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.

What accessibility details are visible in Spotlight card?

The React source for Spotlight card includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Spotlight card handle reduced motion?

Spotlight card reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components