Drawer Feature Accordion

Motion Components · Vol. 2

Component

Drawer Feature Accordion

A real-time three.js oak cabinet. Open a feature and its drawer slides out in 3D, a glowing prop rises from the tray and the camera pushes in. Click a drawer or use the accordion.

Variants

Sizes and states, all built from the same markup.

Compact accordion, second item open
Default, first item open
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility