Pebble

Cairn

Usage
Billing

Metering

002
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-pebble

About this component

A feature card cropped round a pile of smooth, speckled pebbles under a thick sculpted arch. Hover nudges the pile: each pebble lifts, turns a few degrees and settles with its own weight. A press drops them again from higher, squashing as they land.

Triggers

  • Hover
  • Click
  • Delay stagger
  • Keyframe
  • Gradient
  • Card

Techniques

  • Keyframes
  • CSS variables
  • Gradient
  • Radial gradient
  • Transition delay stagger
  • SVG filter
  • border-radius

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The whole card is one control: role="button" with tabindex 0 and an aria-label ("Usage billing. Press to drop the pebbles again."); Enter and Space drop the pebbles and :focus-visible draws a ring. The arch, pebbles and sparkles are aria-hidden.

Reduced motion

Every pebble and sparkle animation is off and the pile simply rests.

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

More cards

See all

Active now

1,284 active now

12 more just now

PulseGet code
Approvals5 waiting
Maya OkaforRefund$240
QueueGet code
Agent run
Queued
RelayGet code

All systems normal99.98%

  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
SkyGet code