Glow
A soft halo in the element's own color, for progress bars, rings, dots, and chart lines.
text-chart-1 glow glow-lineInstall
Add the utility's CSS with the CLI, your coding agent, or by hand. It has no JavaScript.
Usage
Put glow on a filled part and glow-line on a thin stroke. The halo takes the text color of the element.
Fill and stroke
A blur alone spreads too little color on a thin line, so strokes get a second, tight layer.
- Fills
glowOne 6px halo for bars, rings, dots, and badges.
- Strokes
glow-lineA 2px core under the 6px halo, for 1 to 2px chart lines.
Colors
The halo takes the element's own color, so a status dot glows in its own tone.
- Online
- Busy
- Down
Options
The classes and the variable of the utility. Set the variable with an arbitrary property, such as [--glow-strength:50%].
| Name | Kind | Default | Description |
|---|---|---|---|
glow | class | — | A 6px halo for fills: dots, bars, rings. |
glow-line | class | — | A 2px core under the 6px halo, for 1 to 2px strokes such as chart lines. |
--glow-strength | variable | 35% · 60% dark | How much of the color the halo takes. It is stronger in dark mode, where the halo reads less. |
- Materials
material-brushed-aluminumMetal, glass, stone, and cloth surfaces that catch the light.
- Pattern
pattern-hatchHatch, dots, grid, and checker for empty or reserved areas.
- Shape
shape-zigzagCut the edges or corners of any box: zigzag, scallop, notch.
- Typeset
typesetOne class styles the plain HTML of an article or a page.
- Shimmer
shimmerA light sweep for skeletons and loading text, in sync.
- Scroll Fade
scroll-fadeFade the edges of a scroll area, only where it can scroll.