Compositions
Core Primitives
Transitions
Typography
Customize
0
1
Installation
$ pnpm dlx shadcn@latest add @framecn/hero-device-assemble
Usage
import { HeroDeviceAssemble } from "@/components/framecn/hero-device-assemble";<HeroDeviceAssemble />API Reference
HeroDeviceAssemble
| Prop | Type | Default |
|---|---|---|
assembleStart | number | 0 |
device | "laptop" | "phone" | "laptop" |
accentColor | string | "#22c55e" |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 150 |
width | number | 1280 |
height | number | 720 |
className | string | - |
Notes
Two-phase device assembly
Devices spring into place from floating layers, then the screen wakes with a shimmer effect. The device prop selects laptop or phone.