Booting Environment...

Liquid Glass

An advanced, Apple-style chromatic aberration and displacement effect using complex SVG filters for stunning refractions.

Installation

npx raya-ui@latest add liquid-glass

File Structure

your-project
components
ui
liquid-glass
LiquidGlass.vue

API Reference

Props

radius
number
16

Border radius of the glass container in pixels.

scale
number
-180

Intensity of the SVG displacement map (refraction strength).

blur
number
11

Blur amount for the internal displacement filter map.

alpha
number
0.93

Opacity of the internal feColorMatrix shape mask.

lightness
number
30

Controls the specular lighting brightness on the edges.

GLASS

EFFECT

Balance

$12,450.00

Drag the card to see the refraction
Settings
-40
15px
30
0.93
24px