Skip to content

Shadow Light

The cursor is a hanging lamp casting warm light: cards throw real shadows whose direction, length and softness change with their distance from the lamp. Press and hold to lower the lamp and stretch the shadows.

Plan
Pro · commercial license
Dependencies
React only
Props
11 (9 adjustable)

Included in Pro and Lifetime. See pricing

Plan · 01Essentials first
MapNorth zone
NotesCheck shadows
EntryAdmits one
FolioNo. 7

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenReactNode""Scene on the table; elements with data-shadow cast a shadow (a few sample cards by default).
sample{ label?: string; title?: string }[]"5 sample cards"Label and title of each of the five sample cards (only visible if you omit children).
heightnumber260Height of the lamp above the table, in px (lower = longer shadows).
softnessnumber1Size of the bulb: bigger means softer shadows.
colorstring"#ffd596"Color of the light.
radiusnumber250Radius of the pool of light, in px.
intensitynumber1Intensity of the light and of the darkness of the room.
castersstring"[data-shadow]"Selector for the elements that cast shadows.
hideCursorbooleantrueHides the system cursor inside the container.
globalbooleanfalseThe lamp follows the cursor across the whole window, not just inside the container.
autoplaybooleanfalseThe lamp wanders on its own, and occasionally dips lower, when nobody moves the cursor.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Shadow Light

npx shadcn@latest add @furin-pro/shadow-light

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A glass sphere with a snowy cabin inside: drag or shake it and the snow swirls with liquid inertia, then slowly settles over the landscape. Glass with reflections, edge refraction and a wood-and-brass base.

    Cursors

  • The cursor is a bubble wand: it blows thin-film bubbles with swirling color bands and a window reflection, floating on the wind and bursting into droplets on click.

    Cursors

  • A row of tubular glass (or brass, or steel) chimes hung from a crossbar: the cursor is the wind. Each tube is a pendulum with real physics that knocks into its neighbors and rings with a synthesized inharmonic timbre.

    Cursors