Skip to Content

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.

Installation

pnpm dlx shadcn@latest add @01orbital/traveling-arc

Usage

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-demo

API 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