A laptop whose lid opens as you scroll it into view. Put anything on the screen.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | What the screen shows. | |
| width | number | 560 | Width of the laptop in px. |
| open | boolean | Force it open or closed. Leave undefined to open with scroll. | |
| className | string | Extra classes added to the outer element. |