An open API service indexing awesome lists of open source software.

https://github.com/henryoman/water

Open-source framework agnostic tailwind library that mimics Apple Liquid Glass but expands even further on it
https://github.com/henryoman/water

apple css glass glassmorphism liquid tailwindcss ui-design

Last synced: 4 months ago
JSON representation

Open-source framework agnostic tailwind library that mimics Apple Liquid Glass but expands even further on it

Awesome Lists containing this project

README

          


Glass Preset Logo

water



Liquid-Glass utilities & tokens for Tailwind CSS v4.
One preset  —  works in **React, Vue, Svelte, Astro, plain HTML** (anything that runs Tailwind).

---

## ✨ Features
| What you get | Class | CSS cost |
|--------------|-------|----------|
| GPU-blurred, saturated “glass” panel | `.glass` | backdrop-blur + edge sheen |
| Widget block (no blur, axial gradient) | `.widget` | dual-tone gradient + rim |
| Icon / tile with dual rim | `.tile` | razor rim + inner glow |
| Design tokens | `--glass-*`, `--widget-*` | tweak in one place |

No React dependency, no JS bundles, < **3 kB** minified.

---

## 🔧 Installation

```bash
bun add -D @your-scope/glass-preset # bun
# npm install -D @your-scope/glass-preset
# pnpm add -D @your-scope/glass-preset