Horizon Beam
A breathing light beam on a horizon line. Spare and graphic, with an adjustable altitude and thickness.
backgroundbeamhorizonlightminimal
Background
Horizon Beam
Usage
Drop the file into your project and import it. There is no package to install.
usage.tsx
import { HorizonBeam } from "@/registry/backgrounds/horizon-beam";
export function Example() {
return <HorizonBeam />;
}Install prerequisites
Every component here relies only on Tailwind and the cn helper from shadcn/ui.
terminal
npm i clsx tailwind-mergeMore in Backgrounds
Gradient Mesh
Four drifting blurred blobs plus an SVG grain overlay. Renders on the server, costs nothing at runtime, and gets most of the way to a WebGL mesh gradient.
Gradient Border
A card wrapped in a 1px brand gradient ring using a padding-box trick — no extra DOM layers or mask hacks.
Dot Pattern
A subtle radial-dot background for empty states, hero sections and preview frames. Pure CSS, no image asset.