Parcel

Order #2291
  • Ceramic mug × 2
  • Linen tea towel
3 items · 1.2 kg
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-parcel

About this component

An order card that packs itself: press Pack it and the view tips into 3D, four cardboard walls fold up around the order from underneath the card, the lid swings over and shuts, and the shipping label shows on top; Unpack runs it all back.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers5

  • Click
  • 3D
  • Delay stagger
  • State change
  • Card

Techniques4

  • preserve-3d
  • 3D transform
  • Perspective
  • Transition delay stagger

Accessibility

Keyboard and screen readers

Pack it is a toggle button (aria-pressed) whose label changes to Unpack; the order details are real text and stay in the reading order.

Reduced motion

The box packs and unpacks without folding.

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

More cards

See all
LIVE

Orkney switches on Europe's largest tidal array

Energy desk12 min ago
PerimeterGet code

Invoice 004212 Nov

Fern & Field Studio

Brand identity£800.00
Motion guide£340.00
Print proofs£100.00
Total£1,240.00
Original
PhotocopyGet code
Toolbox12 motion skills
  • Easing
  • Timing
  • Squash
  • Stagger
  • Springs
  • Paths
  • Masks
  • Loops
  • Physics
  • Morph
  • Parallax
  • Arcs
PileGet code
PivotGet code