Parallax Panel

Motion

A panel where the heading text and a glowing accent orb move at different speeds as you scroll, giving scroll linked parallax depth with transforms only.

src/registry/premium/parallax-panel.tsx/r/parallax-panel.json

Installation#

bash
npx shadcn@latest add @minidev/parallax-panel

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/parallax-panel.json

Usage#

tsx
import { ParallaxPanel } from "@/components/ui/parallax-panel"

export function Example() {
  return <ParallaxPanel />
}

API reference#

ParallaxPanel props
PropTypeDefault
titlestring"Depth without blur shadows"
bodystring"Scroll-linked motion stays Hairline-...
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files
All Animated React components