react-3d-mockups: live React content on lightweight 3D devices and objects

1 month ago 54
Club.noww.in
 live React content on lightweight 3D devices and objects

I made react-3d-mockups, an open-source React library that puts live content on the screen of a 3D phone, laptop, watch, and other objects. Whatever you pass in renders as real HTML. The models can easily be animated and are built in code at runtime, so there are no 3D files to download.

Built with Claude Fable 5.1, Opus 5.5, three.js and react-three-fiber. MIT licensed.

Demo: https://area.is/react-3d-mockups

Code: https://github.com/area-is/react-3d-mockups

'use client' import { GalaxyMockup } from 'react-3d-mockups' export function Hero() { return ( <GalaxyMockup autoRotate float> <YourApp /> </GalaxyMockup> ) }
submitted by /u/Creative_Sugar-33
[link] [comments]
Read Entire Article