Examples
Quick start:
import { Vaso } from 'vaso'Vaso was blessed by the SVG filter and became a powerful glass.
Drag the glass anywhere
Depth
--:--
Frosted
i
6i
12i
{ x: 20, y: 14 }i
{ x: 28, y: 14, top: 32 }Design review
Starts in 10 minutes
Installation
npm install vaso
Usage
Import the <Vaso> component in your React application and wrap it around any content you want to apply the glass effect to.
Tune it with
`depth``blur``dispersion``radius``specular`import { Vaso } from 'vaso'
export function Toolbar() {
return (
<Vaso radius={24} depth={1.2} blur={0.5} dispersion={0.6} outset={{ x: 8, y: 4 }}>
<button>Share</button>
</Vaso>
)
}