Beam

Pro

Billing

  • Unlimited projects
  • Usage analytics
  • Priority support
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-beam

About this component

A pricing card whose price stands on a living field of colour that breaks up into the card through an ordered dither of small pixels. Switch Monthly to Yearly and the price rolls while a ripple runs along the pixel edge and the field shifts in hue. A thin light runs the border and brightens near the pointer.

Triggers

  • Click
  • Hover
  • State change
  • Card
  • Gradient
  • Border
  • Mouse tracking
  • Ambient

Techniques

  • @property
  • Conic gradient
  • Radial gradient
  • Keyframes
  • CSS transition
  • Mouse tracking
  • requestAnimationFrame
  • SVG
  • Gradient

Difficulty

Advanced

Accessibility

Keyboard and screen readers

Billing is a fieldset of two native radios with a visually hidden legend, so arrow keys switch it; the price is one element with an aria-label ("24 dollars a month") while the rolling digits are hidden from assistive technology; the call to action is a native button with a focus ring.

Reduced motion

The field, border light and ripple stop and the price changes at once.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
Petal

Guided
Onboarding

Activation

001
BloomGet code
Secret keyLive
CipherGet code
Assistant

Enter to send
ComposerGet code
HaldenMember

Ada Moreau

No. 004 271
FoilGet code