Backgrounds
Refractive Glass Panel
Refractive Glass Panel: A rounded panel whose backdrop bends and splits into faint red, green and blue fringes near its edge, like looking through a real pane of thick glass.
Using Refractive Glass Panel
Refractive Glass Panel uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
cornerRadius | number | 20 | From 0 to 40; step 2 |
refractionStrength | number | 180 | From 0 to 300; step 10 |
edgeThickness | number | 7 | From 1 to 20; step 1 |
tintColor | color | #FFFFFF | No additional limit in the metadata. |
Which frameworks are available for Refractive Glass Panel?
Refractive Glass Panel is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Refractive Glass Panel depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Refractive Glass Panel?
The React source for Refractive Glass Panel includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Refractive Glass Panel handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Refractive Glass Panel's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.