Can

A product can. The label wraps round a real cylinder built from thin slices, with metal rims and a fixed highlight. It pauses when you hover.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Can3D props

PropTypeDefaultDescription
namestring"DEPTH COLA"Brand text printed round the label.
colors[string, string]["#7c3aed", "#ec4899"]Two label colours.
widthnumber120Can width in px.
secondsnumber10Seconds per turn.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks