Once UI Blog
Builder stories
Posts
Once UI
What we built with Claude for Open Source
Once UI joins the Neon Open Source Program
Design tokens your agent can follow
How coding agents read the Once UI component catalog
AGENTS.md for design systems
What is an agentic design system?
Once UI 2.6: it thinks in a cube
Once UI Stack chat: an AI chat with a face
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
TrademarkTrademark
Ctrl k
Search…
Sign up
Once UI Blog
Builder stories
Posts
Once UI
What we built with Claude for Open Source
Once UI joins the Neon Open Source Program
Design tokens your agent can follow
How coding agents read the Once UI component catalog
AGENTS.md for design systems
What is an agentic design system?
Once UI 2.6: it thinks in a cube
Once UI Stack chat: an AI chat with a face
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
Effects

Prism Glow: soft prism light behind your sign-in screen

Prism Glow is the 15th effect on once-ui.com/effects: soft streaks of prism light that drift behind your content and keep the middle clear for a sign-in card or a headline.
Updated 21 days ago
Stack: teams and billing
Once UI for React Native: the same props on a phone
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
Prism Glow is the 15th effect on once-ui.com/effects. It is made to sit quietly behind content: soft streaks of light, the kind a prism throws across a dark room, fade in around the edges of the screen, drift a little and fade out again. The middle stays clear, so a sign-in card or a headline reads on top of it.
0:00 / 0:00
Prism Glow at a glance, slide 1 of 7
Prism Glow at a glance, slide 2 of 7
Prism Glow at a glance, slide 3 of 7
Prism Glow at a glance, slide 4 of 7
Prism Glow at a glance, slide 5 of 7
Prism Glow at a glance, slide 6 of 7
Prism Glow at a glance, slide 7 of 7

What it does

  • Soft streaks. Each one runs through a colour gradient along its length, deep blue through cyan to warm gold, with the warm and cool ends pulled slightly apart across its width the way a prism splits light.
  • Never the same layout twice. Streaks fade in somewhere new, drift along their own axis and fade out, spread around the middle rather than piling up on one side.
  • Your colours. Two to five colour stops. Theme tokens work, so the glow can follow your brand.
  • Light mode. On a light page the streaks tint the background like coloured glass instead of adding light.
  • A gentle parallax follows the pointer, and with reduced motion turned on it shows a still frame.

How to use it

Every effect is a single React component with no setup. Pro members copy the source straight from the effect's dialog: You can also set speed, spread (how far each streak strays from angle), intensity and clearance (how strongly the streaks keep away from the middle).

How it is built

Prism Glow is one WebGL 2 pass with no dependencies. The streak positions are worked out in JavaScript each frame, so the shader only has to add up a handful of soft shapes. Because the glow is all blur, it renders at half the screen's resolution or less and the browser scales it up, and you can't tell the difference. That makes it one of the cheapest effects in the collection: in our own test runs on a software GPU with the CPU slowed four times, it held 58 frames per second at phone size. Like the other effects, it adapts its resolution to hold the frame rate and stops drawing when it is off screen, paused or in a hidden tab.
Try Prism Glow on once-ui.com
Share
import { PrismGlow } from "@/components/effects/PrismGlow";

export function SignIn() {
  return (
    <Column fill center overflow="hidden" style={{ minHeight: "100dvh" }}>
      <PrismGlow position="absolute" top="0" left="0" />
      <Column zIndex={1} maxWidth={24} padding="32" radius="xl" background="surface">
        {/* your sign-in form */}
      </Column>
    </Column>
  );
}

// More, wider streaks in your own colours:
<PrismGlow
  count={12}
  blur={0.8}
  angle={-20}
  colors={["var(--brand-solid-strong)", "var(--accent-solid-medium)", "#ffffff"]}
/>