Vizbl

API Reference

Props and integration notes for the React Model Viewer package.

React API Reference

Use this page when you need the exact React component surface for @vizbl/react-model-viewer.

ModelViewerDialogProps

Prop

Type

The dialog props are based on shadcn/ui Dialog.

ModelViewerProps

Prop

Type

Notes

  • Import @vizbl/react-model-viewer/style.css once in your client bundle.
  • Render the package from a client component.
  • Give ModelViewer a container with a real height, for example style={{ height: 640 }}.

Next steps