Skip to content
Agentic UI Kit
Buy

Generator Shader Background

WebGL mesh gradient background with grain and swirl, colours from theme tokens, exported as a self-contained React component.

Full screen Try a theme

Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.

About this feature

What it's for

  • WebGL mesh gradient background with grain and swirl, colours from theme tokens, exported as a self-contained React component.
  • Animated shader hero background that pauses offscreen and falls back to a CSS gradient and a PNG poster.
  • Grain gradient background generator with speed, scale and swirl controls and no animation library.

Includes

  • Webgl shader background
  • Mesh gradient shader
  • Grain gradient shader
  • Swirl control
  • Grain control
  • Speed control
  • Scale control
  • Palette from theme tokens

Works with

  • Radix UI and Base UI primitives (pick the one your project uses)
  • React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
  • Your theme tokens, in light and dark mode

Install

Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.

Agentic UI CLI
agentic-ui add generator-shader-background
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/generator-shader-background

Used in

A standalone component: drop it into any screen.

Type
Feature
Variants
Radix UI and Base UI
Themes
Light and dark
Widths
Preview it at desktop, tablet and mobile widths above.
Motion
Animated, with a reduced-motion fallback