Component packs › Floors › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
entries | DirectoryEntry[] | ||
title | string | Board title. | |
selected | number | ||
onSelect | (index: number, entry: DirectoryEntry) => void | ||
autoplay | number | false | Showcase mode: picks another entry every N ms while visible. |
readonly selected: numberselect(index: number, silent?: boolean): voiddestroy(): voidimport DirectoryMenu from './DirectoryMenu';
<DirectoryMenu />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Dialogs and drawers.