Account

Cards

Creative

Border Beam Card

For the plan, release or offer that should be found first. One beam or a pair.

Install

Included with Creative: needs your API key. Initialize and log in once.

Terminal
npx @galactrex/ui add border-beam-card

Usage

Example
import { BorderBeamCard } from "@/components/galactrex/border-beam-card";

<BorderBeamCard badge="Recommended">…</BorderBeamCard>

Source

Installs to components/galactrex/border-beam-card.tsx, with the shared motion primitives beside it.

Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.

See plans

Props

PropTypeDefaultDescription
childrenReactNode—Content.
badgeReactNode—Small label.
pairedbooleanfalseTwo beams.
durationnumber7Seconds per lap.
classNamestring—Extra classes for the outer element.

Variants

  • Plan. Recommended pricing card.

Accessibility

  • Beam is decorative.

Motion and reduced motion

  • Border Beam's transform rotation.
  • Reduced motion: still.