Component packs › Floors › Directory Menu

Directory Menu

A lobby letterboard: a brass pointer slides to the row you aim at, and choosing an entry presses its letters into the felt one by one and lights its floor.

Directory Menu is a menu from Floors, a component pack with 6 lift controls: Pagination, dialogs, steppers and menus that work like a lift. Price: $2 for the whole pack.

Built with: hand-set letters, letter press wave, roving focus.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Directory Menu props

PropTypeDefaultDescription
entriesDirectoryEntry[]
titlestringBoard title.
selectednumber
onSelect(index: number, entry: DirectoryEntry) => void
autoplaynumber | falseShowcase mode: picks another entry every N ms while visible.

Methods on the ref

Use it in React

import DirectoryMenu from './DirectoryMenu';

<DirectoryMenu />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Floors

Good for: Dialogs and drawers.