Glisse, Apple Liquid Glass in React

React components made of real Liquid Glass. Controls bend, frost and light whatever sits behind them, from buttons and sliders to sheets and tab bars.

Glisse playground with a glass tab bar of Home, Search and Library floating over orange gradient wallpaper, and sliders for size, depth and bend below
Home
Resources

Glisse, Apple Liquid Glass in React

You want the interface to feel like glass, the way it does on an iPhone running iOS 26. You add a translucent panel and a backdrop blur, and the result reads as a grey rectangle. The surface does not bend what sits behind it, the rim has no light, and a card over a photo looks identical whether that photo is bright or dark. Glisse closes that gap with React components instead of a design brief.

What Glisse actually does

Glisse is a React component library where every control is made of the same material. Buttons, switches, sliders, segmented controls, tab bars, toolbars, sheets, menus and sidebars all render as Liquid Glass, and the material bends and frosts whatever is underneath them. You install one package and import a component the way you would import anything else.

The project is TypeScript, MIT licensed, and published as glisse on npm at version 1.0.2. It has no runtime dependencies of its own and asks for React 18 or newer as a peer. The repository opened on 23 October 2026, passed 1,698 stars in six weeks, and npm records about 93,500 downloads a month. The source lives at the Glisse repository.

Setup is two lines, and no provider or Tailwind plugin sits between them:

  • npm install glisse
  • import { Button, Switch } from "glisse"

Styles arrive with the components. Importing the package inserts its stylesheet once, first in the document head, so your own CSS wins any tie without a specificity fight. Under server rendering you can also import glisse/styles.css in the root layout, which gets the glass into the first paint before hydration.

Why glass needs something behind it

Glassmorphism on the web usually means backdrop-filter: blur() over a semi-transparent fill. That reads as glass until the page moves. The blur is uniform, so it ignores the shape of the light and the depth of the content behind it, and the surface never picks up an edge.

Liquid Glass does something different. It samples what sits behind a surface, bends it near the rim, and paints a thin line of light along the edge. That displacement is what gives the material its thickness. The catch is that the effect needs content worth bending. Over a flat white page it reads as a faint outline, because there is nothing behind it to distort.

Glisse makes that requirement explicit. Mark the element behind the glass with data-glisse-backdrop, and every browser bends it. Leave the marker off and only Chromium bends the live page, while Safari and Firefox show the frost and the lit rim without the bend. On a photo, a video, a map or scrolling content, the difference is the whole effect.

☞ Put glass over something worth looking at. A hero image, a gradient mesh, a chart mid-render. Glass over plain white is a border with extra steps.

How the refraction is calculated

The bend is not a blur with a filter bolted on. Glisse models it as light passing through a rounded bezel. A point inside the glass shows what sits further in along the way in from the rim, and the pull is strongest at the very edge. The band that bends is three tenths of the shorter side, capped at 36 pixels, and it reaches as far again into the surface as the band is wide.

Colour splits along that curve the way it does in a real lens. The default dispersion is 0.6, which means red bends about 12 percent further than blue. That fraction is the reason the edge of an iOS 26 control shows a faint colour fringe instead of a clean grey falloff.

Two rendering paths do the work. When the backdrop is an image, a video or a canvas, Glisse uploads it as a texture and draws the whole face with a WebGL shader, so the result is identical in every browser. When the backdrop is live DOM, the library draws a displacement map for the surface and filters the content under it, which bends only what the glass covers. Several surfaces over one piece of content share a single filter.

The live DOM path has a cost worth knowing before you animate it. Safari runs that filter on the CPU, at roughly 40 milliseconds a frame for content 1200 by 800 at 2x, so a moving lens over a large element is heavy there. A still one costs nothing after its first frame. Animating the glass itself, or layering it over a picture, keeps the work on the GPU.

Everything visual is tunable, and nothing needs a style override to change. The library exposes custom properties such as --lg-glass-bend for how far the rim reaches, --lg-glass-dispersion for the colour split, --lg-tint for a colour laid over the glass, and --lg-fill for the accent inside a control. The full component reference, with a live example and the code beside it, sits in the Glisse documentation.

What ships in the package

The set covers a full application shell rather than a demo grid. Nineteen shipped modules, and most of them are complete controls rather than primitives you finish yourself:

  • → Form controls, with Button, Input, SearchField, Checkbox, Switch, Slider, Stepper, Select, Combobox and RadioGroup
  • → Navigation, with TabBar, Toolbar, Sidebar and its twenty parts, plus SegmentedControl
  • → Overlays, with Sheet and its snap points, Dialog, Modal, Menu and ContextMenu
  • → Support pieces, with Progress, Spinner and ScrollArea
  • → The raw material, Glass itself, with regular and clear variants and an interactive mode that lights under the pointer

Sizing is not negotiable in a useful way. Controls come in three heights through size, at 28, 32 and 40 pixels, and the docs tell you not to override them. That rule is what keeps a mixed interface looking like one system instead of twelve contributors agreeing on nothing.

State follows the same pattern. There is no onChange anywhere. Controls use onValueChange, onCheckedChange and onOpenChange, and each one receives the new value rather than an event. Passing value without the matching handler is the mistake the docs warn about first.

Overlays handle their own stacking. Dialog, Sheet and Modal open as a native dialog element in the top layer, and the menu lists portal themselves. You never give them a z-index, which removes the class of bug where a sheet disappears behind a sticky header.

There is also an agent skill, which matters if you build by prompting. npx skills add 0kzh/glisse installs a guide that teaches a coding assistant which component to reach for and which mistakes to avoid, including the ones in this article. The skill ships its own rules files, one of them on glass and the rest on composition, styling and accessibility.

Where it does not fit

Three limits belong near the top rather than in a footnote. The library is React only, so a Vue or Svelte project is out of scope. Every control is glass, which is the whole point and also the constraint, because a dense data table with forty rows of glass controls is not a good interface. And the effect depends on a backdrop, so an app that lives on a white canvas will look like it is wearing a costume.

There is a related trap in the composition rules. Glass takes its shape from border-radius, so a circle becomes a lens and a rounded rectangle becomes a rounded pane. Faking the shape with clip-path or a wrapper with overflow: hidden breaks the rim, and the light along the edge stops matching the corner.

Bundling is the last thing to measure. The unpacked package is about 907 KB, which includes the stylesheet, the shader source and every component. Your bundler keeps what you import, but a strict performance budget on a marketing page deserves a check before you ship a tab bar on top of it.

Frequently asked questions

Does it work with Next.js server components?

Yes. The bundle is marked "use client", so you can import components directly in a server component tree. To get the styles into the first paint before hydration, import glisse/styles.css once in the root layout.

Why does the glass look flat on my page?

Because nothing is behind it. Glass over a plain background has no light to bend. Put it over an image, a video, a map or scrolling content, and mark that element with data-glisse-backdrop so every browser applies the refraction.

Can I use my own brand colours?

Yes, through the --lg-* custom properties rather than by overriding component CSS. --lg-tint colours the glass itself, --lg-fill sets the accent inside a control, and the rest of the token set covers surfaces, edges and selection.

Is dark mode supported?

It follows the system by default. Force it with data-theme="light" or data-theme="dark" on any ancestor. The library handles reduced transparency and increased contrast, along with reduced motion, so adding your own media queries for those only duplicates the work.

Why it belongs in your stack

Rebuilding this by hand means writing a displacement shader, measuring a rim light off a screenshot, and then maintaining all of it across three engines that each handle SVG filters differently. Glisse has done that work and packaged it as components that behave like React components should.

It also pairs with what we already published. If the material itself is still unfamiliar, the practical guide to Liquid Glass covers the visual language, and the comparison with glassmorphism explains where a plain blur falls short. The notes on depth in iOS design cover why a floating card reads as closer than the screen behind it. Our own Liquid Glass library takes a different route with Base UI behaviour underneath, so the two are worth comparing before you pick one.

For the screens that need to hold up around those controls, the other free resources and design and code kits follow the same ship-it-yourself pattern.

Related articles

Liquid glass is a layered surface that keeps the background perceptible, keeps content stable, and behaves predictably across tiers, states, and stress tests

Design Trends

17 min read

Liquid glass design explained, a practical guide

Liquid glass is a layered surface that keeps the background perceptible, keeps content stable, and behaves predictably across tiers, states, and stress tests.

Five glass UI aesthetics compared side by side

Design Trends

15 min read

Glassmorphism, neumorphism, liquid glass, what to use in 2026

A side-by-side breakdown of glass UI aesthetics — and how to pick the right one.

iOS 17 design trends: More depth and shadows in Apple's mobile GUI

Design Trends

5 min read

Name a bigger downgrade, the absence of depth in iOS UI design

Experience the enhanced user interface design of iPhones and iPads with iOS 17, featuring increased use of shadows and depth for a more immersive, tactile experience.

More free resources

Anime.js editor showing a 3D engine model on the canvas, a timeline of animation tracks below, and parameter controls on the right

Design and AI tools

anime.js, motion engine for the web

Open source animation engine with timelines, staggers and SVG morphing. Version 5 adds a visual editor that writes your changes back into the code.

Openvector editor turning a five colour bitmap into five SVG paths with a size comparison

Design and AI tools

Openvector, raster images to clean SVG

Open source tracer that turns raster images into editable SVG, PDF, EPS, AI, DXF and EMF. Runs on desktop, in the browser tab, in the terminal, or from node.

Tilted iPhone with the expanded tab bar, a profile row and an idle status

UI components

Liquid Glass bottom tabs for Expo Router

Bottom tab bar for Expo Router that grows into a workspace and profile card. Liquid Glass on iOS 26, springy motion from Reanimated, all source in TypeScript.

Archify editor showing a generated agent workflow map with planner, approval gate and trace log

Design and AI tools

Archify, system diagrams from your agent

Agent skill that turns a repository or a one-line description into a single interactive HTML diagram. Ten diagram types, Apache 2.0 licence, no account needed.

Masonry photo grid of landscape shots, a husky portrait and bokeh lights, with a plus two counter on the last tile

UI components

Ramka, the headless lightbox for React

Headless lightbox primitives for React with View Transition morphs, native scroll swiping and pinch to zoom. MIT licensed, zero runtime dependencies.

desigma launch cover with the headline the design tool you actually own, a download button, the editor on four phone screens and a layers panel

Design and AI tools

Desigma, a design tool written in Rust

Open source design tool in Rust for macOS, Windows and Linux. Opens real Figma files, keeps components and variables, and runs offline with no account.

Looseleaf, 123 hand-drawn shadcn/ui components

UI components

Looseleaf, 123 hand-drawn shadcn/ui components

Every shadcn/ui part redrawn as paper and ink, with 123 components, 61 blocks, 160 icons. Installs as source through the shadcn registry, MIT licensed.

react-useanimations, 300 animated icons

Icons and animations

react-useanimations, 300 animated icons

300 free animated icons for React with hover, click and loop interactions built in. Zero dependencies, an 8 kB player, and reduced-motion support.

Matita icons, 200 pencil-style glyphs

Icons and animations

Matita icons, 200 pencil-style glyphs

200 pencil-style icons as SVG files and React components. Every stroke overshoots like a ruled pencil line, and the whole set is free under the MIT license.

CleanYourTV — Android TV without the ads

Desktop utilities

CleanYourTV — Android TV without the ads

Open source setup that disables ad services and bloatware on Android TV and Google TV over Wi-Fi. No root, nothing uninstalled, one line restores it.

Gr8r Studio — calm project management workspace

Self-hosted apps

Gr8r Studio — calm project management workspace

A calm project workspace with dashboard, inbox, board, calendar and timeline views. Plain JavaScript modules, no UI framework, zero runtime dependencies.

Spectrum UI — animated React components you copy and own

UI components

Spectrum UI — animated React components you copy and own

Open source React and Tailwind component library for animated interfaces. Buttons, cards, loaders, and text effects arrive through one CLI command and land in your own repo as editable files.

Compositor — free Photoshop alternative for macOS

Design and AI tools

Compositor — free Photoshop alternative for macOS

Free and open source Photoshop alternative for macOS. Layers, masks, PSD import, and a project format any AI agent can read and write.

Mailcheap, self-hosted newsletter on Amazon SES

Self-hosted apps

Mailcheap, self-hosted newsletter on Amazon SES

Self-hosted newsletter on Amazon SES. Write an issue, send it to your list, publish an archive, and pay about $0.10 per 1,000 emails with no per-subscriber fee.

Liquid Glass for React

UI components

Liquid Glass for React

Glass surfaces and controls for React on the web and in Electron. Clear and Regular materials refract live content, and every control runs on Base UI behavior.

REA — reverse engineering MCP for AI agents

Design and AI tools

REA — reverse engineering MCP for AI agents

Give your AI agent an MCP server that reverse engineers any app: native binaries, Electron, .NET, APKs, and websites. Analysis runs locally, MIT licensed.

FSearch — whole-disk file search for macOS

Desktop utilities

FSearch — whole-disk file search for macOS

Find any file on your Mac in about a millisecond, typos included, and search inside text files. Whole-disk index in Rust, MIT licensed, one small daemon.

@sfinterface/numbers — rolling numbers for React

UI components

@sfinterface/numbers — rolling numbers for React

React component that turns only the digits that changed. 13 kB, no dependencies, Intl formatting, five transitions, and reduced-motion support.

RuneIcons — open source icon set for modern UIs

Icons and animations

RuneIcons — open source icon set for modern UIs

Thousands of clean, consistent SVG icons for web and app interfaces. Open source, MIT licensed, and ready to drop into Figma, React, or plain HTML today.

Amicro — micro-interactions for any landing page

Icons and animations

Amicro — micro-interactions for any landing page

Open source collection of ready-made micro-interactions: hover glow, magnetic buttons, scroll reveals. Copy a snippet, paste into any page, ship motion today.

M3E Canvas — Material 3 Expressive UI builder

Design and AI tools

M3E Canvas — Material 3 Expressive UI builder

Assemble Material 3 Expressive interfaces in your browser and export a ready-to-use prompt for AI. Open source, free, and built for Android vibe coding.

Driver.js — product tours & onboarding

UI components

Driver.js — product tours & onboarding

Lightweight, vanilla JavaScript library for building powerful product tours, feature highlights, and contextual onboarding. No dependencies, just 5kb gzipped, fully customizable and accessible by default.

pdfcn — PDF viewer component for React

UI components

pdfcn — PDF viewer component for React

Open source PDF viewer built on the shadcn stack. Renders documents inside your React app with zoom, search, and navigation. No iframe, no vendor lock-in, MIT license.

Free invoice template for Figma

Figma templates

Free invoice template for Figma

Clear and simple table-based document for your business purposes. Powered by editable data grid, which is easy to manage.

Avatar UI design templates & tips

Figma templates

Avatar UI design templates & tips

A part of the upcomong design handbook «The State of Component». Colors, Styles & UI design for Avatar. Events, States and Actions. Including layout samples for inspiration.

App Bar UI design templates & tips

Figma templates

App Bar UI design templates & tips

Application Bar (aka Navigation Bar) — displays prior in-app controls related to the current app section. This freebie contains things to consider when designing App Bars.

Fonts Playground

Figma templates

Fonts Playground

Best web fonts precisely handpicked and optimised for better web legibility and ready to implement into your Figma project.

Website Template

Figma templates

Website Template

Landing page template made for Figma. Contains styled components UI kit, desktop & mobile versions. Global styles, Inter, FlatUI colors.

Android UI kit

Figma templates

Android UI kit

8 mobile app templates based on popular Android UI design patterns: Calendar, Cards, Tasks, Kanban & Project management and more.

Figma iOS UI kit

Figma templates

Figma iOS UI kit

iOS native components and app templates organised into a «Most Design System» fully compatible with Human Interface guidelines.

Material X Starter

Figma templates

Material X Starter

Top-notch styled components in the design system powered by Auto-layout. Ready-to-use Figma UI kit with styles from the nearest future.

Radar Chart

Figma templates

Radar Chart

Radar chart template made of components and available within a range of popular viewports: desktop, tablet and mobile. Light & Dark.

Rome UI kit lite

Figma templates

Rome UI kit lite

Components & templates for desktop & mobile apps. Powered by clean and trendy custom guidelines and DM Sans font (OFL).

Xela UI kit starter

Figma templates

Xela UI kit starter

100+ variants of several components to craft perfectly shaped desktop & mobile apps. Modern styleguides and free Nunito Sans font.

Free iOS UI kit

Figma templates

Free iOS UI kit

Customisable & adjustable mobile design system with 100+ variants for a set of components and 8 ready-to-use app layouts to try out.

Mobile-X UI kit

Figma templates

Mobile-X UI kit

Meet Mobile-X Figma design system for mobile app design. Cross-compatible & stylish UI kit which fits both iOS / Android apps.

Accordion guide

Figma templates

Accordion guide

The exploration for Accordion component: styles, states, samples, and use cases for desktop & mobile viewports.

Eclipse UI kit

Figma templates

Eclipse UI kit

Fine components fully loaded with variants, auto-layout, global text & color styles. Hi-end customizable Figma design system (starter).

Appka iOS UI kit

Figma templates

Appka iOS UI kit

Appka is a fine-themed & customized iOS design system with 4100+ variants for 28 components and 280+ ready-to-use app layouts for Figma.

Nav templates

Figma templates

Nav templates

This design resource represents navigation components. It contains sidebars, drawers and headers both in light & dark modes.

Dark charts UI kit

Figma templates

Dark charts UI kit

Try out this handy source of graphs for your next dashboard, pitch, or even print materials. Contains most common dark chart templates.

Figma email templates

Figma templates

Figma email templates

Five awesome and scalable free email templates to engage your subscribers. Dark & light themes. Contains buttons, lists and cards.

Charts widgets dark & light

Figma templates

Charts widgets dark & light

Line & Wave charts, Bars, Histograms, Ratings and more graphs widgets are available in this free Figma resource. For dashboards, mobile & desktop.

Shopping layout for web app

Figma templates

Shopping layout for web app

Contains navigation, filtering components, tabs, cards and more. This layout was made with Angular and fully coded.

Orion dark templates

Figma templates

Orion dark templates

Figma library with 40+ desktop charts templates served in light & dark themes. Contains 200+ of dataviz widgets for every case.

Responsive imagery cards

Figma templates

Responsive imagery cards

A variety of responsive cards templates for Figma. Constrained and scalable. Made with global styles for typography and colors.

Landing page & web blocks

Figma templates

Landing page & web blocks

Use given blocks as a quickstarter for your very next web design mission. This freebie contains 3 landing pages for desktop, tablet & mobile.

Mobile tables several themes

Figma templates

Mobile tables several themes

Components-driven iOS layouts with data grid made from one singe cell. Based on different styles. Allows to create better tables in Figma.

12 free mobile templates

Figma templates

12 free mobile templates

Use our Full iOS design system as the starter for your next mobile app. This freebie includes 12 screens dark & light powered by 200+ components.

Calendars & Date picker templates

Figma templates

Calendars & Date picker templates

UI design resource with 56 calendars extracted from our popular UI kits. All the best samples of schedule patterns, planners, event managers.

Schedule & Events template

Figma templates

Schedule & Events template

This clean calendar template has been made of a scalable grid, accurately made with colored items and wrapped for the desktop.

Material You for web apps

Figma templates

Material You for web apps

Figma Material Design 3 starter fully loaded with several desktop & mobile templates (with dark themes) and a bundle of components.

iOS Datepickers

Figma templates

iOS Datepickers

Stand out with our Figma iOS date picker. Offering a true-to-life isometric design and easy-to-edit text, it's the most realistic option.

Segment UI kit

Figma templates

Segment UI kit

Design stunning Android apps with our free Figma UI kit. Follow Android guidelines and components and use our fonts, colors, and templates.

Figma React UI kit

Figma templates

Figma React UI kit

Our Figma React UI kit 2-in-1 makes web app building faster. Created in Figma, exported to React, and customised with Blueprint.js library.

Messenger app desktop template

Figma templates

Messenger app desktop template

Effortlessly create world-class communication design with our Messenger Template for Figma. With dark and light mode options.

Zeus UI free website template

Figma templates

Zeus UI free website template

Zeus Web UI kit-inspired landing page template. Supports all viewports, card-driven UX, polished with Syne and Space Grotesk fonts.

Design system starter

Figma templates

Design system starter

Launch your project with confidence thanks to our Figma design system. Customize grids, text, color, gradients, and shadows with ease.

Navigation layout 4 samples

Figma templates

Navigation layout 4 samples

Sleek Navigation Menu for Material X design system in Figma. Various sizes and design options. Features badges and active state highlight.

Chart cards

Figma templates

Chart cards

Make your data pop with our easy-to-use Charts UI kit. Featuring bar charts and heatmaps, it's perfect for dataviz, dashboard, pitches and others.

Material UI styled

Figma templates

Material UI styled

New and improved Material UI Kit, refreshed with enhanced material.io guidelines. Free and ready-to-use components included.

Hyper charts

Figma templates

Hyper charts

Transform your data into captivating visuals with several Figma's chart templates based on Hyper Charts kit. You'll find 8 editable widgets inside.

Search inputs

Figma templates

Search inputs

Explore how Figma inputs are revolutionizing search interface design. Gain key insights to enhance user experience with impeccable UIs.

Figma Grid Layouts

Figma templates

Figma Grid Layouts

This template is designed to help you create templates that are beautifully balanced. Features both mobile and desktop layouts with 16/24 gutters.

Panda dashboard template

Figma templates

Panda dashboard template

Build sleek dashboards with our Panda UI kit starter! Featuring a 1920w desktop template, UI widgets, and components.

Orion dataviz templates

Figma templates

Orion dataviz templates

The design system starter for your next application. This resource contains 6 dashboard templates and a bundle of UI design widgets.

Subscribe to Setproduct

Once per week we send a newsletter with new releases, free resources and blog posts

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.