Cinema

The Long Room2026 · 1h 52
18:4021:1523:30
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-cinema

About this component

A film card that goes widescreen when you hover it: black bars close in from top and bottom until the still is cropped to 2.39:1, the camera pushes in a touch, and a line of dialogue fades up in the lower bar as a subtitle.

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

Triggers3

  • Hover
  • State change
  • Card

Techniques3

  • CSS transition
  • Transform only
  • Gradient

Accessibility

Keyboard and screen readers

An article labelled with the film, year and running time; it takes focus, and focus or a tap shows the scene as hover does. The subtitle is decorative (aria-hidden), and the showtimes are ordinary text.

Reduced motion

The bars appear without moving.

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

More cards

See all
Cape Wrath

Lighthouse · Sutherland

DollyGet code
DrosteGet code
Burn after reading

The spare key is under the blue pot. Don't tell Sam.

From J.
Burned. Nothing left to read.
EmberGet code
Lake Bledf/8 · 1/500

Golden hour · Slovenia

FlareGet code