Cards
CreativeBorder 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.
npx @galactrex/ui add border-beam-cardUsage
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.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Content. |
badge | ReactNode | — | Small label. |
paired | boolean | false | Two beams. |
duration | number | 7 | Seconds per lap. |
className | string | — | 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.