Loading component…
Components /Model Viewer
Interactive 3D model viewer with drag, zoom and keyboard rotation
Run the following command
npx shadcn@latest add https://raw.githubusercontent.com/Ashutoshx7/VengeanceUI/main/public/r/model-viewer.json| Prop Name | Type | Default | Description |
|---|---|---|---|
| modelUrl | string | '/models/sample.glb' | Path or URL of the .glb model to display. |
| className | string | - | Additional CSS classes for the viewer container. |