Skip to Content

Concentric Rings

Concentric rings graphic of nested outline arcs from outer to inner, built on Arc, with optional content centered on top. Ring count, colors, stroke widths and arc sweep are props; optional spin alternates direction per ring.

View as Markdown
pnpm dlx shadcn add @01orbital/concentric-rings

Usage

import { ConcentricRings } from "@/components/glow/concentric-rings"

Examples

Emberconcentric-rings-ember

Concentric Rings Ember: an example of concentric-rings.

pnpm dlx shadcn add @01orbital/concentric-rings-ember

API reference

Concentric rings, outer to inner, each a faint full ring with a bright arc along part of it. They step down from the full size to half of it, and children sit centered on top.

The rings are hidden from assistive tech and ignore the pointer; children stay interactive.

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.

Registry pieces it installs with it: