Glass JS behaviour

Liquid ripple

Every press sends a ripple through the live content inside; strength and timing are tunable and the content keeps working as ever.

Real scenarios

The component as it is used in a product — not a specimen grid.

Pick a plan — the shelf reacts

Every press, anywhere in the frame, sends one wave through the cards; the buttons stay clickable and the text selectable.

Starter Free One project
Studio 290,000 tomans Five projects
Agency 890,000 tomans Unlimited

A stronger wave under the checkout

Wool coat 2,450,000 tomans
Express courier 49,000 tomans
Total 2,499,000 tomans

strength="28" duration="1400" — a heavier, slower pour for moments of consequence.

Important props

Important props
Prop Type Default What it does
strength number 18 The ripple’s force (the content’s pixel travel).
duration number 1100 How long the ripple settles, in milliseconds.

Snippet

<x-nx::liquid-ripple :strength="22">
    …هر محتوای زنده — گالری، فهرست، فرم…
</x-nx::liquid-ripple>