Two text ribbons cross in an X in opposite directions with speed whips; where they overlap, they invert.
Negative
An X-ray lens follows the cursor and reveals the structure of the letters: negative, contour lines and a mesh that shifts with parallax.
Included in Pro and Lifetime. See pricing
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "Inside\nout" | The headline being X-rayed (line breaks are supported). |
size | number | 118 | Maximum letter size, in px (it fits to the width). |
radius | number | 118 | Radius of the lens, in px. |
tint | string | "#4fd0ff" | Color of the mesh and the ring (X-ray plate blue). |
density | number | 1 | Density of the contour lines and the mesh (0.5 to 2). |
color | string | "#f4f3ef" | Letter color. |
background | string | "#0b0c0f" | Background color. |
autoplay | boolean | true | With no cursor, the lens sweeps across the headline on its own. |
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 license2Install X-Ray Text
npx shadcn@latest add @furin-pro/ xray-textPro components install into your project: the code is yours and there's nothing else to download.
Two text ribbons cross in an X in opposite directions with speed whips; where they overlap, they invert.
Negative
A viewfinder that closes in on the headline, then a two-frame photographic flash in negative with film grain. Click to fire.
Negative
A grid of blocks under the text that flip to negative behind the cursor with a bounce, then return in a wave from where you are.
Negative