Jacket

Salt & Iron

Wren Halloway

Hardback
312 pages

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-jacket

About this component

A book card in its dust jacket: hover and the printed jacket slides off the side of the book, turning away as it goes, to show the cloth binding underneath with its title stamped in foil and a ribbon marker hanging from the head.

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

Triggers3

  • Hover
  • 3D
  • Card

Techniques4

  • 3D transform
  • Perspective
  • CSS transition
  • Gradient

Accessibility

Keyboard and screen readers

An article labelled with the title and author; it takes focus, and focus or a tap removes the jacket as hover does. The cover art is aria-hidden, the details are text.

Reduced motion

The jacket fades away instead of sliding.

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

More cards

See all
KeyedGet code
01 / 03

Plan the week

Pick three runs and the app spaces them out for you.

LiquidGet code
A weekend in Lille14 places

Belfries, beer halls and the Braderie

MastheadGet code
Ball bounceFrame 12 / 24
Onion SkinGet code