Skip to content

Flashlight

A dark layer that only reveals hidden content where a flashlight beam points, with warm light, a spring when it opens and a soft falloff.

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

Included in Pro and Lifetime. See pricing

File 07 · SealedN 25.6866° W 100.3161°

What the darkness keeps

Only what you light up exists.

  • 01Vault map
  • 02Master key
  • 03Unopened letters
Level−3Restricted access

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

Props

PropTypeDefaultDescription
childrenReactNode""Content hidden in the dark (a sample vault by default).
vault{ tag?: string; coords?: string; title?: string; text?: string; items?: string[]; levelLabel?: string; note?: string }undefinedTexts of the sample vault (only used if you don't pass children); accepts any subset of its fields.
radiusnumber130Radius of the light beam, in px.
colorstring"#FFE2A8"Color of the light.
ambientnumber0.05How visible the hidden content is even in the dark (0 = nothing, 0.3 = you can make it out).
glownumber1Intensity of the beam's warm glow.
flickerbooleantrueMakes the beam flicker very subtly, like a real flashlight.
hideCursorbooleanfalseHides the system cursor inside the container.
autoplaybooleanfalseWanders on its own 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 Flashlight

npx shadcn@latest add @furin-pro/flashlight

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 red laser dot with bloom, speckle and natural hand tremor; if you move it fast, the beam shows up in the dust in the air. A click fires a flash.

    Cursors

  • The cursor is a loaded paint roller: drag it to reveal (or cover) your content with the dotted texture of a real roller, ragged edges, paint ridges at the ends and the shine of fresh paint that dries.

    Cursors

  • 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.

    Cursors