Skip to content
UIGlass

Product

Features

A material system for glass interfaces — not just a blur slider.

A real refraction engine

The heart of UIGlass is an SVG displacement lens applied through backdrop-filter. A displacement map is generated for the exact proportions and corner radius of your element, so the background bends at the bezel the way thick glass does, while the centre stays calm and readable.

  • Strength — how far the background is pulled at the edge.
  • Bezel width — how wide the curved edge is.
  • Edge softness — how gradually the lens fades into the flat centre.
  • Lens type — convex (magnifying) or concave (diverging).
  • Chromatic aberration — splits red, green and blue by a few pixels for a prism-like fringe.

The lens adapts to the element’s size automatically, so a button that grows on hover keeps a correct edge.

One light, every layer

Glass looks fake when its highlights disagree. In UIGlass a single light angle drives the rim highlight, the soft inner glow, the back-edge caustic and the inner shade. Rotate the light and every layer rotates with it.

States that behave like a design system

Base, Hover and Pressed are edited separately. Hover and Pressed only store the properties you change, which keeps exported CSS short and makes your intent obvious to whoever reads the code later. Transitions use a spring curve on transform and a smooth curve on colours and shadows, so motion feels physical without colours overshooting.

Nine components, one material

ComponentTypical useNotable details
ButtonPrimary and secondary actionsOptional leading icon, focus ring, light sweep on hover
Icon buttonToolbars, media controls, favouritesCircular by default, accessible label
CardFeature tiles, pricing, dashboardsWidth control, heading and body styles
Pill navigationTabs, segmented controls, docksActive item highlight that follows your light colour
Input fieldSearch, command palettes, formsFocus state reuses Hover, placeholder contrast
ToggleSettings, on/off optionsReal role="switch" with aria-checked
BadgeLabels, counters, statusCompact pill sized for short text
TooltipHints and short explanationsrole="tooltip" with an arrow that keeps the material
NotificationToasts, confirmations, alertsrole="status", icon, title and body

Export that ships

  • CSS — one class per component, CSS custom properties for every state, scoped child selectors.
  • HTML — semantic markup (button, nav, article, label + input) with the SVG filter and a three-line browser check.
  • React — a ready JSX component that imports its stylesheet.
  • Vue — a Vue 3 single-file component.
  • Tailwind — a stylesheet for Tailwind v3 and v4 projects; the class works next to your utilities.
  • JSON — the full design, re-importable at any time.
  • Demo page — a complete standalone HTML file to share with your team, or Open in CodePen to try it live.

Every export includes a frosted fallback for browsers without SVG backdrop filters, prefers-reduced-motion and prefers-reduced-transparency handling, and visible keyboard focus styles.

Built for real work

  • Undo and redo with keyboard shortcuts.
  • Copy style: take the look of one element and apply it to another, or to all nine at once, with a contrast check — and one undo.
  • Share links that carry the whole design inside the link — no upload, no account.
  • My designs: saved in your browser, or in your free account to open them on any device. Plus a public collection of presets.
  • Nine built-in scenes, custom colours, image URLs and local image previews.
  • Pixel or rem units with a configurable root size.
  • Dark and light interface, optimised for desktop, tablet and phone.
  • Open source: the builder, its engine and the theme are free software under the GPL.