Device Frame Stack

Motion

Three device frames labelled mobile, app and docs that spring into a fanned, rotated stack when scrolled into view. Works as a hero or feature visual.

src/registry/premium/device-frame-stack.tsx/r/device-frame-stack.json

Installation#

bash
npx shadcn@latest add @minidev/device-frame-stack

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/device-frame-stack.json

Usage#

tsx
import { DeviceFrameStack } from "@/components/ui/device-frame-stack"

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

API reference#

DeviceFrameStack props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components