BG-08BackgroundsNew, October 21, 2026
Ink Background
A hero written in ink on water. Stir it and the letters bleed, click to drop ink, and the headline gathers itself again. Built with WebGL.
PRODither Reveal Hero and more like it are in Kokonut UI Pro
Installation
Ink Background is a free, open-source React component in the Kokonut UI Backgrounds collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/ink-background.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/ink-backgroundUsage
import InkBackground from "@/components/kokonutui/ink-background";
export default function Example() {
return <InkBackground />;
}Props
textstringDefault "Write freely."The headline written in ink. It bleeds when stirred and gathers again.
accentstringColor of the ink a click drops. Leave it out for the same ink as the headline.
childrenReactNodeContent over the ink, under the headline.
interactivebooleanDefault trueSet false for a still backdrop.
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.
Halftone Background
Any image, or a lit sphere, printed as a halftone dot screen, with a loupe that looks closer under the cursor, built with React and canvas.
Caustics Background
A hero on the floor of a pool. Light ripples across it, clicks drop rings that bend the light, and the headline's shadow wobbles below.