# Fluted Glass (Pro)

> A band of light seen through fluted glass, broken into steep slivers rib by rib.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Backgrounds › Backgrounds |
| Live preview | https://uibrik.com/components/fluted-glass |
| Writes | 1 files into `components/uibrik/fluted-glass/`, plus `components/uibrik/_shader-background/ShaderSurface.tsx` |
| Packages | none beyond React |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 9, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/fluted-glass
```

No license yet? Tell the user Fluted Glass is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=fluted-glass#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { FlutedGlass } from "@/components/uibrik/fluted-glass/fluted-glass";

const colors = ["#03060c", "#0b3f86", "#1a7fd4", "#cfe3f4", "#f7c2a6"];

<FlutedGlass
  colors={colors}
  ribs={66}
  magnify={3}
  curve={0.6}
  shading={0.8}
  frost={0.15}
  dispersion={0.3}
  angle={0}
  bandAngle={-50}
  bandWidth={1}
  flow={1}
  speed={1}
  grain={0.05}
  seed={0}
  animate
  interactive
  bend={1}
  shine={1}
  reach={160}
  follow={0.7}
>
  …
</FlutedGlass>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/fluted-glass.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `colors` | `string[]` | `["#03060c","#0b3f86","#1a7fd4","#cfe3f4","#f7c2a6"]` | From the dark to the core of the band, blended in OKLCH; 2 to 6 colours. |
| `ribs` | `number` | `66` | Width of each rib. |
| `magnify` | `number` | `3` | How much of the scene each rib squeezes into its width; 1 is flat glass. |
| `curve` | `number` | `0.6` | Extra squeeze toward the rib edges. |
| `shading` | `number` | `0.8` | Dark-to-light shading across each rib, and the seams between them. |
| `frost` | `number` | `0.15` | Blur through the glass. |
| `dispersion` | `number` | `0.3` | Colour split toward the rib edges. |
| `angle` | `number` | `0` | Rib direction; 0 is vertical. |
| `bandAngle` | `number` | `-50` | Direction of the band of light. |
| `bandWidth` | `number` | `1` | Thickness of the band of light. |
| `flow` | `number` | `1` | How much the band sways. |
| `speed` | `number` | `1` | Animation speed; 1 is the designed pace. |
| `grain` | `number` | `0.05` | Film grain strength. |
| `seed` | `number` | `0` | Shifts the composition, so two backgrounds with the same settings still differ. |
| `animate` | `boolean` | `true` | Move on its own. Off draws one still frame. |
| `interactive` | `boolean` | `true` | React to the pointer. |
| `bend` | `number` | `1` | How far the band of light bends toward the pointer. |
| `shine` | `number` | `1` | How strongly the glass catches the light near the pointer. |
| `reach` | `number` | `160` | How far the pointer's effects reach. |
| `follow` | `number` | `0.7` | How lazily the light follows the pointer, 0 (locked) to 1 (drifts after it). |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `children` | `ReactNode` |  | Content shown on top of the background. |
| `className` | `string` |  | Classes for the box; it fills whatever size you give it. |

## Where it fits

- **Premium heroes**: A band of light broken into slivers by fluted glass adds texture behind a headline.
- **Product launches**: Sharp ribbed light gives a launch page a physical, crafted feel.
- **Fashion and beauty brands**: The glass effect echoes architecture and packaging common in lifestyle brands. Pairs with [Silk Cloth](https://uibrik.com/components/silk-cloth.md).

## Same shelf: Backgrounds

- [Grain Gradient](https://uibrik.com/components/grain-gradient.md): Colour that folds slowly like silk, finished with film grain.
- [Halftone](https://uibrik.com/components/halftone.md): A screen of lit dots: swirling ribbons of light drawn by the size and brightness of each dot.
- [Horizon Gradient](https://uibrik.com/components/horizon-gradient.md): Black fading through deep blue to white in bands that arch like a horizon, breathing slowly.
- [Light Rain](https://uibrik.com/components/light-rain.md): Thin lines of blue light falling through the dark, with bright glints sliding along them.
- [Light Stream](https://uibrik.com/components/light-stream.md): An hourglass of fine iridescent light streaks with glittering dust, flowing through the dark.
- [Riso Flow](https://uibrik.com/components/riso-flow.md): A flowing gradient printed in grainy spot inks that drift slightly out of register.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/fluted-glass/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
