# Riso Flow

> A flowing gradient printed in grainy spot inks that drift slightly out of register.

## Spec sheet

| | |
| --- | --- |
| Access | Free: no account, free for commercial use |
| Shelf | Backgrounds › Backgrounds |
| Live preview | https://uibrik.com/components/riso-flow |
| Writes | 1 files into `components/uibrik/riso-flow/`, plus `components/uibrik/_shader-background/ShaderSurface.tsx`, `components/uibrik/_shader-background/shades.ts` |
| 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 26, 2026 |

## Add it

```bash
npx shadcn@latest add https://uibrik.com/r/riso-flow.json
```

With the `@uibrik` namespace in `components.json` ([setup](https://uibrik.com/docs/installation.md)): `npx shadcn@latest add @uibrik/riso-flow`.

Can't run commands? https://uibrik.com/components/riso-flow/prompt-full.txt has every file verbatim, with the setup steps, ready for an assistant to write.

## Render it

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

```tsx
import { RisoFlow } from "@/components/uibrik/riso-flow/riso-flow";

<RisoFlow
  color="#1f7a8c"
  scale={1}
  offset={4}
  dot={2}
  grit={0.55}
  paper={1}
  speed={1}
  seed={0}
  interactive
  shake={1}
  animate
>
  …
</RisoFlow>
```

## Tune it

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

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `color` | `string` | `"#1f7a8c"` | Colour of the ink; the paper and other inks are shades of it. |
| `scale` | `number` | `1` | Size of the shapes; larger is calmer. |
| `offset` | `number` | `4` | How far the ink layers drift out of register. |
| `dot` | `number` | `2` | Size of a grain speck. |
| `grit` | `number` | `0.55` | Softness of the grain; 0 is crisp. |
| `paper` | `number` | `1` | Strength of the paper texture. |
| `speed` | `number` | `1` | Animation speed; 1 is the designed pace. |
| `seed` | `number` | `0` | Shifts the composition, so two backgrounds with the same settings still differ. |
| `interactive` | `boolean` | `true` | Moving the pointer leaves a misregistered wake; a press sends a ring through the sheet. |
| `shake` | `number` | `1` | How hard the wake and presses push the layers apart. |
| `animate` | `boolean` | `true` | Move on its own. Off draws one still frame. |

## 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

- **Editorial and zine sites**: Grainy overprinted ink gives pages a printed, handmade feel. Pairs with [Halftone](https://uibrik.com/components/halftone.md).
- **Event and poster pages**: Fluorescent spot inks read like a gig poster or festival flyer.
- **Studio portfolios**: A warm analogue texture behind work that should not look like a template. Pairs with [Dither Gradient](https://uibrik.com/components/dither-gradient.md).

## Same shelf: Backgrounds

- [Silk Cloth](https://uibrik.com/components/silk-cloth.md): A sheet of satin rippling in a light breeze, with a long sheen along every fold.
- [Silk Vortex](https://uibrik.com/components/silk-vortex.md): Liquid glass streaming outward from a dark void: glossy folds mapped through a colour gradient.
- [Soft Clouds](https://uibrik.com/components/soft-clouds.md) (Pro): A soft summer sky shot on grainy film, with billowing clouds drifting slowly on the wind.
- [Star Warp](https://uibrik.com/components/star-warp.md) (Pro): A deep, twinkling starfield; hold to jump to warp as stars stretch into colour-split streaks, and hover to steer through them.
- [Topographic Lines](https://uibrik.com/components/topographic-lines.md): Contour lines of a slowly shifting landscape, like a survey map; the pointer raises a hill the lines ring around.
- [Voronoi Cells](https://uibrik.com/components/voronoi-cells.md) (Pro): A living mesh of cells with waves of light hopping through it like signals across a network; the pointer lights the cells it passes.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/riso-flow/` so the import paths keep resolving.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
