uibrik

AI Blob

Preview

Customize

Sphere spiral
Dots50
Far dot size2.0px
Near dot size15.0px
Speed1.0x
Blink speed0.3x
Tilt18°

Usage

import { AIBlob } from "@/components/uibrik/ai-blob/ai-blob";

<AIBlob />

Installation

npx shadcn@latest add https://uibrik.com/r/ai-blob.json
Adds the files to components/uibrik/ai-blob. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/ai-blob.

Props

AIBlob
mode
Type "sphere-spiral" | "double-spiral" | "rings" | "torus" | "blob"
"sphere-spiral"
Active 3D variation.
interactive
Type boolean
true
Click cycles through the variations.
dotCount
Type number
50
Number of dots.
speed
Type number
1
Rotation speed multiplier.
blinkSpeed
Type number
0.3
Pulse speed of the travelling dots. 0 disables.
tilt
Type number
18
3D tilt pitch in degrees.
dotSize
Type number | [number, number]
–
Dot size, or a [far, near] depth range.
color
Type string
–
Base dot colour. Falls back to the text colour.
highlightColor
Type string
–
Colour of the bright travelling dots.
onModeChange
Type (mode) => void
–
Called when the variation changes.
className
Type string
–
Size and text colour, e.g. size-28 text-zinc-700.