- Ceramic mug × 2
- Linen tea towel
Parcel
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardParcel(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-parcelAbout 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 allOrkney switches on Europe's largest tidal array
Invoice 004212 Nov
Fern & Field Studio
- Easing
- Timing
- Squash
- Stagger
- Springs
- Paths
- Masks
- Loops
- Physics
- Morph
- Parallax
- Arcs