Cards
Pointer Spotlight Panel
Pointer Spotlight Panel: A content panel with a soft light that follows the pointer across its face and pins to the centre on keyboard focus.
Using Pointer Spotlight Panel
Pointer Spotlight Panel uses the card 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #F5C542 | No additional limit in the metadata. |
radius | number | 260 | From 120 to 500; step 10 |
intensity | number | 0.35 | From 0.05 to 0.8; step 0.05 |
fadeMs | number | 400 | From 100 to 900; step 50 |
Which frameworks are available for Pointer Spotlight Panel?
Pointer Spotlight Panel 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 Pointer Spotlight Panel depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Pointer Spotlight Panel?
The React source for Pointer Spotlight Panel includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Pointer Spotlight Panel handle reduced motion?
Pointer Spotlight Panel reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.