Skip to main content
Each example imports a public npm package in a React snippet and renders it inside the documentation page.

Packages

Add a package

Paper Shaders is one example of the same import flow.
1

Install the package

2

Enable package imports

Add "packages": {} to docs.json. Keep package.json and the lockfile alongside it.
3

Import a component in a snippet

4

Start the local preview

Open Mesh Gradient