Skip to Content

Painted Orb Rim

Rim-lit sphere graphic: a near-black 3D orb with a cyan key rim and a warm coral fill on opposite edges, built from layered box shadows. A palette or OKLCH color override recolors both lights without changing the shape.

View as Markdown
pnpm dlx shadcn add @01orbital/painted-orb-rim

Usage

import { PaintedOrbRim } from "@/components/orbs/painted-orb-rim"

Examples

Native Cyanpainted-orb-rim-native-cyan

Painted Orb Rim example in its original cyan key light and coral fill, with a caption row on a dark ground. The default look of the rim-lit sphere graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-native-cyan

Rose Bluepainted-orb-rim-rose-blue

Painted Orb Rim example with a rose key light and blue fill on a frosted plum panel, with a short note beneath. Shows a warm and cool pairing for the rim-lit sphere graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-rose-blue

Amber Jadepainted-orb-rim-amber-jade

Painted Orb Rim example lit with a warm amber key and a jade fill, captioned with the two colors. Shows how custom key and fill colors recolor the rim-lit sphere graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-amber-jade

Lilac Quietpainted-orb-rim-lilac-quiet

Painted Orb Rim example with a pale violet rim on midnight blue, framed by a thin limned edge, with one line of text. A quiet, low-contrast take on the rim-lit sphere graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-lilac-quiet

Three Sizespainted-orb-rim-three-sizes

Orb size comparison: one silver Painted Orb Rim shown at three sizes in a row, each labelled with its maximum width. Shows how the rim-lit sphere graphic scales from icon to hero art.

pnpm dlx shadcn add @01orbital/painted-orb-rim-three-sizes

Close Croppainted-orb-rim-close-crop

Cropped orb panel example: a large Painted Orb Rim in its native colors, cut by the left edge of a dark panel so only a curve shows. A bold rim-lit sphere backdrop for banners.

pnpm dlx shadcn add @01orbital/painted-orb-rim-close-crop

Paper Headlinepainted-orb-rim-paper-headline

Hero section example on warm sand paper: a rose Painted Orb Rim beside a headline, short paragraph and two buttons. Shows the rim-lit sphere as artwork in a light-theme landing page.

pnpm dlx shadcn add @01orbital/painted-orb-rim-paper-headline

Card Framepainted-orb-rim-card-frame

Card artwork example: a Painted Orb Rim in an inset bevel frame at the top of a card with a short title, description and save button. Shows the rim-lit sphere as a card cover graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-card-frame

Palette Pickerpainted-orb-rim-palette-picker

Interactive Painted Orb Rim example with five palette buttons that change its key and fill lights, and a status line. A pattern for a color or theme picker driven by a rim-lit sphere.

pnpm dlx shadcn add @01orbital/painted-orb-rim-palette-picker

Key Huepainted-orb-rim-key-hue

Interactive Painted Orb Rim example on midnight blue with a hue slider that sweeps the key light around the spectrum. Shows how one color value recolors the rim-lit sphere graphic.

pnpm dlx shadcn add @01orbital/painted-orb-rim-key-hue

API reference

A dark orb lit only at its edges: a key light on one side, a softer fill light on the other, and a faint glow just outside the rim. palette and colors recolor the lights and body without moving them.

It is a static circle of size px, hidden from assistive tech.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Used in blocks

One block is built with Painted Orb Rim.