404 Animation

Interactive 404 text composed of tiny face icon particles that spring away when hovered.

Installation

1

Run the following Command

>_npx shadcn@latest add https://minimalui.rshv.dev/r/404-animation.json

Props

PropTypeDefaultDescription
textstring"404"The text rendered as interactive particle icons.
widthnumber800Stage width in pixels used for particle text sampling.
heightnumber400Stage height in pixels used for particle text sampling.
fontstring'900 280px "Arial Black", Impact, system-ui, sans-serif'Font styling string used to generate text outline.
iconSizenumber15Size of each face icon in pixels.
spacingXnumber9Horizontal grid density between particles.
spacingYnumber7Vertical grid density between particles.
hoverRadiusnumber85Cursor proximity distance (px) required to push particles.
spreadDistnumber26Max distance particles travel away from cursor.
springConfig{ stiffness?: number; damping?: number; mass?: number }{ stiffness: 210, damping: 16, mass: 1 }Physics spring configuration for smooth hover reaction.
archColorstring"#c7cfd9"Stroke color of the icon mouth arc.
eyeColorstring"#aab4c2"Fill color of the icon eyes.
captionstring | null"Move your cursor over the shape"Caption string rendered under the stage.