Parallax Glass

shadcn Registry

Liquid Glass for shadcn/ui

Install the optical primitive or an optional composition with the shadcn CLI. The command copies editable React, CSS, material, and refraction source into your application.

Install the core Liquid Glass primitive

pnpm dlx shadcn@latest add https://parallax-glass.vercel.app/r/liquid-glass.json

With npm, replace the command prefix with npx shadcn@latest add. The registry endpoint resolves declared dependencies and writes the source to your configured shadcn component directory.

You own the installed source

This project is a source distribution rather than a private component runtime. After installation, your application owns the component files, material registry, browser capability checks, and refraction engine. You can review every SVG primitive and adapt the public component locally.

The core item has no Motion dependency. Animated compositions declare Motion only when they need spring, drag, or morph behavior.

Registry components

ItemUseMotion
liquid-glassCore optical surfaceNo
liquid-glass-icon-pillCircular icon actionsNo
liquid-glass-magnetic-pointerPointer attraction and press deformationNo
liquid-glass-navigationDraggable segmented navigationYes
liquid-glass-capsuleFree drag, squish, and spring returnYes
liquid-glass-menuMorphing compound menuYes

Install an optional composition

pnpm dlx shadcn@latest add \
  https://parallax-glass.vercel.app/r/liquid-glass-navigation.json

Each registry item declares its local files and dependencies. Install only the pieces your interface needs.

Continue exploring