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.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/concentric-ringsnpx shadcn@latest add @01orbital/concentric-ringsyarn dlx shadcn@latest add @01orbital/concentric-ringsbunx --bun shadcn@latest add @01orbital/concentric-ringsUsage
import { ConcentricRings } from "@/components/glow/concentric-rings"
export default function ConcentricRingsDemo({
animate = false,
}: {
animate?: boolean
}) {
return (
<div className="relative aspect-square w-full max-w-md overflow-hidden rounded-lg">
<ConcentricRings
className="absolute inset-0"
size="82%"
animate={animate}
/>
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/concentric-rings-demonpx shadcn@latest add @01orbital/concentric-rings-demoyarn dlx shadcn@latest add @01orbital/concentric-rings-demobunx --bun shadcn@latest add @01orbital/concentric-rings-demoExamples
Emberconcentric-rings-ember
Concentric Rings Ember: an example of concentric-rings.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/concentric-rings-embernpx shadcn@latest add @01orbital/concentric-rings-emberyarn dlx shadcn@latest add @01orbital/concentric-rings-emberbunx --bun shadcn@latest add @01orbital/concentric-rings-emberAPI 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 it for you.
Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
Last updated on