Skip to content

Spotlight card

Shows a card with a glow and border that follow the pointer.

Shared inbox

Assign, snooze, and reply to customer mail as a team.

38 open conversations

spotlight-card-demo.tsx

Installation

The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.

Usage

feature-card.tsx

Feature grid

The light follows the pointer across the grid, so the borders of nearby cards also light up.

Drafts

Write with the team in one document.

Reviews

Ask for approval without leaving the page.

Versions

Go back to any saved state.

Exports

Send a PDF, a link, or plain text.

Guests

Invite clients to comment for free.

Search

Find words inside every file.

spotlight-card-grid-demo.tsx

Color and size

Use the --spotlight-color and --spotlight-size CSS variables to change the light.

Uptime

All systems work as expected.

Usage

You used 72% of this month's plan.

spotlight-card-color-demo.tsx

API reference

Accepts the same props as `Card`. Compose it with the Card parts.

--spotlight-color: CSS color = var(--color-foreground)
Color of the glow and the border light.
--spotlight-size: CSS length = 20rem
Radius of the light around the pointer.