Traveling Arc
Circular frame with one short highlight running around its rim, built on the Arc traveling look, with children centered inside. Size, stroke, color or hue and arc length are adjustable; motion is opt-in.
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/traveling-arcnpx shadcn@latest add @01orbital/traveling-arcyarn dlx shadcn@latest add @01orbital/traveling-arcbunx --bun shadcn@latest add @01orbital/traveling-arcUsage
import { TravelingArc } from "@/components/glow/traveling-arc"
export default function TravelingArcDemo({
animated = false,
}: {
animated?: boolean
}) {
return <TravelingArc size={280} animated={animated} />
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/traveling-arc-demonpx shadcn@latest add @01orbital/traveling-arc-demoyarn dlx shadcn@latest add @01orbital/traveling-arc-demobunx --bun shadcn@latest add @01orbital/traveling-arc-demoAPI reference
A round box with one traveling Arc on its edge: a single highlight that builds along the ring and drops off at its end. Children sit centered inside the ring.
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