Magnetic Field Hero
- from @beste-ui
A minimal hero over the magnetic-field background component: a Canvas 2D field of iron filings that turn along the curved lines between two drifting magnetic poles. The cursor takes over one pole, spring physics pull the filings toward it, and every click sends a radial shockwave through the grid. An oversized headline sits beside a short intro and two Turn Arrow block buttons. Every field setting passes through the field prop; the ink follows the theme, the field pulses on its own when idle, it pauses offscreen, and reduced motion gets one settled frame.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @beste-ui/hero211Registry dependencies1
- button