Skip to content

Motion Trail Card

A card you drag and throw: it bounces off the walls with inertia, and while it moves fast an internal strobe leaves ghost copies like a multiple-exposure photo that fade away on their own.

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

Included in Pro and Lifetime. See pricing

Multiple exposureFLASHThrow me

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

Props

PropTypeDefaultDescription
childrenReactNode"sample card"Card content (also used for the ghost copies).
sample{ tag?: string; title?: string; hint?: string }"sample texts"Texts of the sample card: tag, title and hint (only visible if you omit children).
widthnumber176Card width, in px.
heightnumber224Card height, in px.
ghostsnumber8Maximum number of ghost copies.
strobeMsnumber52How often, in ms, the flash fires and leaves a copy.
bouncenumber0.86Bounce against the walls (0 = no bounce, 1 = elastic).
frictionnumber0.75How quickly the thrown card slows down.
autoThrownumber2400The card throws itself every so many ms if nobody touches it (0 = off).
fromstring"#ffd23d"Start color of the sample card.
tostring"#ff5a47"End color of the sample card.

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 Motion Trail Card

npx shadcn@latest add @furin-pro/motion-trail-card

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

  • Click and the paper burns from that point: a ragged glowing edge, embers creeping across the char, scorched paper, orange light on what's underneath, and ash, sparks and burning scraps flying off. WebGL with noise; it can be reset.

    Motion

  • A rubber card: a soft four-cornered body on springs. The corner you grab follows the pointer, the far ones lag and stretch; on release it whips back with bounces. The rubber lightens where it stretches.

    Motion

  • Text that shoots in like a whiplash: directional motion blur, a trail of copies, anime-style speed lines and a camera shake as it slams to a stop.

    Motion