Complete guide to using Liquid Glass components in your Vue.js applications with beautiful Apple-style effects.
Get started with Liquid Glass Vue components by installing the NPM package and setting up the required imports.
Add this import to your main.js file:
Three powerful components to create stunning liquid glass effects in your Vue applications.
A versatile container component that applies liquid glass effects to any content. Perfect for cards, panels, and content sections.
An interactive button component with liquid glass styling. Supports all native button events and properties.
A stylized link component with liquid glass effects. Maintains all anchor tag functionality while adding beautiful visual effects.
All components share the same customizable properties to control the liquid glass effect appearance.
Want to experience and adjust these properties intuitively? Try the generator!
Property | Type | Default | Description |
---|---|---|---|
width | Number | 300 | Width of the component in pixels |
height | Number | 200 | Height of the component in pixels |
borderRadius | Number | 28 | Border radius in pixels for rounded corners |
innerShadowColor | String | 'rgba(255, 255, 255, 0.7)' | Color of the inner shadow effect |
innerShadowBlur | Number | 20 | Blur radius of the inner shadow in pixels |
innerShadowSpread | Number | -5 | Spread radius of the inner shadow in pixels |
glassTintColor | String | '#ffffff' | Base tint color for the glass effect |
glassTintOpacity | Number | 0 | Opacity of the glass tint (0-100) |
frostBlurRadius | Number | 0 | Blur radius for the frosted glass effect |
noiseFrequency | Number | 0.008 | Frequency of the noise distortion effect |
noiseStrength | Number | 77 | Strength of the noise distortion effect |
All components support their respective native HTML events, maintaining full compatibility with Vue.js event handling.
Supports all native button events:
Supports all native anchor events:
Complete examples showing how to use each component in your Vue.js applications.
Use LiquidGlassContainer to wrap any content with liquid glass effects:
Create beautiful interactive buttons with full event support:
Create elegant links with liquid glass styling:
Here's a complete Vue.js application setup with all components:
Try our interactive generator to customize your liquid glass effects, then use the Vue components in your project!