nabous.dev

Lumenmorph

Give your interface a little light.
Glass surfaces and glowing edges, in any framework. Start with CSS; add pointer light when you want it.

Quick use

Three CDN steps. No build needed.
  1. Load the stylesheet

    Inside <head>.

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@monabbous/lumenmorph@0.3.2/dist/css/lumenmorph.min.css">
  2. Add your content

    One element, with an optional glowing border.

    <article class="lumenmorph lumenmorph-border" style="padding: 2rem">
      <h2>Hello, glass.</h2>
      Your content
    </article>
  3. Let the light follow

    Optional. Add before </body>; static glass needs no JavaScript.

    <script type="module">
      import { trackPointer } from "https://cdn.jsdelivr.net/npm/@monabbous/lumenmorph@0.3.2/js/pointer.mjs";
      const stop = trackPointer();
      // Call stop() if you remove the effect.
    </script>
Using npm, Tailwind, or a framework? Find your stack below

Try the material

Pick a theme. Move the light. Copy the result.

One material. Shared light.Move anywhere on the page
Surface

Glass surface

Blur the background and catch the pointer light along the edge.

Get the CSS

Text

HTML

Lumenmorph

SVG

Optional SVG adapter.

Icon

Edit preview content

Icon GitHub (brands)

Choose from Font Awesome Free, or use your own filled SVG path.

Use a custom SVG path

Get the code for your SVG adapter

Choose an icon

Font Awesome Free · solid, regular, and brands

The catalog loads when opened.

    Font Awesome Free 6.5.1 · License. Brand icons are trademarks of their owners. Pro icons are not included.

    Browser support

    94.41% of global browser usage fully supports all four tracked CSS features.

    Combined CSS coverage, not a whole-library guarantee. Color mixing and SVG-specific behavior are excluded.

    19 browser families · most-used recorded versions. Combined coverage includes all recorded versions.

    • Chrome for Androidv157
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Chromev155
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Safari on iOSv26.6
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Edgev155
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Safariv26.6
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Firefoxv157
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Samsung Internetv30
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Opera Mobilev80
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Operav136
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • UC Browser for Androidv15.5
      Blur
      Full
      Masks
      Partial
      Variables
      Full
      Text clip
      Full
    • Firefox for Androidv159
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • IEv11
      Blur
      No
      Masks
      No
      Variables
      No
      Text clip
      No
    • QQ Browserv14.9
      Blur
      No
      Masks
      Partial
      Variables
      Full
      Text clip
      Full
    • Android Browserv157
      Blur
      Full
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Baidu Browserv13.52
      Blur
      Full
      Masks
      Partial
      Variables
      Full
      Text clip
      Full
    • Blackberry Browserv10
      Blur
      No
      Masks
      Partial
      Variables
      No
      Text clip
      Full
    • IE Mobilev11
      Blur
      No
      Masks
      No
      Variables
      No
      Text clip
      No
    • KaiOS Browserv3.0-3.1
      Blur
      No
      Masks
      Full
      Variables
      Full
      Text clip
      Full
    • Opera Minivall
      Blur
      No
      Masks
      No
      Variables
      No
      Text clip
      No
    19 browser families · most-used recorded versions. Combined coverage includes all recorded versions.
    BrowserVersionBlurMasksVariablesText clip
    Chrome for Android157FullFullFullFull
    Chrome155FullFullFullFull
    Safari on iOS26.6FullFullFullFull
    Edge155FullFullFullFull
    Safari26.6FullFullFullFull
    Firefox157FullFullFullFull
    Samsung Internet30FullFullFullFull
    Opera Mobile80FullFullFullFull
    Opera136FullFullFullFull
    UC Browser for Android15.5FullPartialFullFull
    Firefox for Android159FullFullFullFull
    IE11NoNoNoNo
    QQ Browser14.9NoPartialFullFull
    Android Browser157FullFullFullFull
    Baidu Browser13.52FullPartialFullFull
    Blackberry Browser10NoPartialNoFull
    IE Mobile11NoNoNoNo
    KaiOS Browser3.0-3.1NoFullFullFull
    Opera MiniallNoNoNoNo

    Full / Partial / No / Unknown are feature classifications, not device-test results. Zero-usage families use their latest listed version as a reference.

    How the percentage is calculated

    Each browser-version usage weight is counted once. Full support requires all four features to be fully supported; partial support requires every feature to be at least partially supported. Disabled-by-default, unknown, and unreported browser usage are not counted as full. No feature percentages are averaged.

    2.84% additional global usage has partial support for the tracked set.

    Individual features · global browser usage
    FeatureFull supportPartial
    backdrop-filter97.25%0.00%
    CSS masks94.42%2.98%
    CSS variables97.39%0.00%
    background-clip: text97.28%0.12%

    Snapshot checked . Caniuse source data · CC BY 4.0. Full support includes prefixed implementations classified as supported by Caniuse. This is not a percentage of Lumenmorph compatibility: color-mix(), SVG-specific behavior, and rendering bugs are not included. CSS masking is a broad feature; partial support does not guarantee mask compositing.

    color-mix() support · Rendering and accessibility limits

    Standalone HTML example

    The star card and HTML text with your material settings. Published CSS, optional Font Awesome icons. No hidden lab styles.

    Open example
    Examples & browser support

    Start with something you need.

    Try a working interface, edit its source, then export HTML. No framework required.

    Before you use it

    The effect is optional. Native content and controls should still work without it.

    Which browsers work?

    Automated checks cover Chromium, Firefox, and WebKit, plus mobile-emulated Chromium—not every physical phone. Without blur, the tint remains. Test your target devices for fixed backgrounds and SVG effects.

    Individual features · global browser usage
    FeatureFull supportPartial
    backdrop-filter97.25%0.00%
    CSS masks94.42%2.98%
    CSS variables97.39%0.00%
    background-clip: text97.28%0.12%

    Snapshot checked . Caniuse source data · CC BY 4.0. Full support includes prefixed implementations classified as supported by Caniuse. This is not a percentage of Lumenmorph compatibility: color-mix(), SVG-specific behavior, and rendering bugs are not included. CSS masking is a broad feature; partial support does not guarantee mask compositing.

    color-mix() support also affects the radial light and is not included in the combined CSS figure.

    Browser support and rendering limits
    What about motion, contrast, and accessibility?

    Use native elements and labels, as this example does. The pointer helper honors reduced motion and ignores touch by default. Forced colors use system colors and hide decorative borders; reduced transparency removes blur where the browser exposes that preference. Your app still needs readable foreground contrast and visible focus styles over its actual background.

    Do I need JavaScript or a framework?

    Static surfaces and HTML glass text need only CSS. Pointer light is opt-in. The lab also opts into Slidebox's range decoration. React, Vue, Svelte, Angular, and Web Components are optional SVG adapters, not requirements for a card or native control.

    Choose your styling route or framework
    Where should I use it—and where should I be careful?

    Start with a few small surfaces: a toolbar, settings panel, or menu. Blur and gradients require rendering work; avoid stacks of full-screen blurred layers. Transforms, filters, and containment can affect shared fixed-background alignment. Keep a static-light fallback and measure in your own app. No compositor-only rendering or performance advantage is assumed.

    Frameworks & advanced setup

    Choose your stack
    View CSS setup

    Foundations

    Choose npm for a bundled project or CDN for plain HTML and CSS. Static glass needs no JavaScript.

    1. Install

    2. Shared defaults

    Set global defaults in :root, or use local styles below. Local values override inherited defaults.

    3. Per-material styling

    Style a material with your current settings. Tailwind supports @apply or direct utilities.

    Use your UI library

    Keep your components and their behavior. Choose the material integration for your stack.

    Read the full integration guide

    SVG components

    Optional npm adapters: choose Vanilla CSS · npm above for the install command, then reuse the foundation's styles and .material settings. Initialize the tracker once in your app's browser lifecycle, not per SVG.

    Vue, Svelte, Angular, and Web Components render the effect after mounting. Use HTML glass text if it must be visible before hydration.