Installation
Choose your framework. The registry installs one component file and its PixiJS dependency.
Installation unavailable
This preview is not assigned to the free or paid catalog. Installation is unavailable.
The registry command writes the component to src/lib/components/ui/GlassPane.svelte and installs its dependencies.
The registry command writes the component to src/components/ui/GlassPane.tsx and installs its dependencies.
The registry command writes the component to src/components/ui/GlassPane.vue and installs its dependencies.
Overview
Glass Pane divides an image into a repeating refractive field with a cubic lens profile, RGB separation, and narrow specular highlights.
Rotation changes the panel field while the optional wave bends and gently animates its boundaries.
Basic usage
The shader fills its parent. Your layout decides whether that parent is a card, hero, or viewport.
- Set both Wave frequency and Wave amplitude above zero to reveal the animated panel motion.
- Use Image fit to preserve the source aspect ratio or deliberately stretch it across the canvas.
Component API
Types below match the selected Svelte component.
Types below match the selected React component.
Types below match the selected Vue component.