Installation
There are three ways to get an effect into your project. All of them give you plain source files that you own and can edit.
With the znverse CLI
Run this in your project folder, the one with package.json:
npx znverse add tilt-cardYou can install several effects, or a whole kit, at once:
npx znverse add tilt-card spotlight-card magnetic-button
npx znverse add kits/micro-interactionsThe CLI shows every file before it writes anything, installs npm packages with the package manager your lockfile points to, and prints the import line for each effect. See the CLI reference for every option.
With the shadcn CLI
znverse publishes a registry in the shadcn format, so projects that already use shadcn can install effects the same way as their other components:
npx shadcn@latest add https://znverse.vercel.app/r/tilt-card.jsonKits work too: https://znverse.vercel.app/r/kits/landing-page.json. The Registry API describes the files.
By copying the source
Every free effect page has a Get the code panel with each source file and a copy button. Copy the files into your project and install the packages listed under the install command. This always works, including for effects that cannot be installed automatically.
Where the files go
| Effect framework | Folder |
|---|---|
| React | components/znverse/<effect>/, inside src/ when your project has a src folder |
| CSS | components/znverse/<effect>/, the same as React |
| HTML | public/znverse/<effect>/ at the project root |
React effects are imported with the @/ alias, for example @/components/znverse/tilt-card/TiltCard. If your project has no @/ alias, add one to tsconfig.json or import the file with a relative path. The CLI warns you when the alias is missing.
HTML effects are complete pages. Open them at /znverse/<effect>/index.html, or copy their markup into your own page.
Dependencies
Each effect lists what it needs on its page, under the install command:
- React effects install their npm packages, such as
gsapormotion, through the CLI. - HTML effects load their libraries from a CDN in the page itself, so nothing is installed.
- Many effects need nothing at all. Use the No dependencies filter to find them.
Effects that cannot be installed automatically
Some effects are copy-only. Their page explains why:
| Reason | What to do |
|---|---|
| The effect ships images or other binary assets | Copy the files from the source panel, including the assets |
| The effect imports shared files outside its own folder | Copy the files and the shared helpers they import |
| The effect is a full project | Use the Open on GitHub, Clone or Download ZIP buttons |
| The effect is premium | The source is locked |