Skip to content

Elevator Floors

Floor-by-floor navigation: a brass dial with a travelling needle, steel doors that close and open, and illuminated buttons.

Plan
Pro · commercial license
Dependencies
React only
Props
9 (7 adjustable)

Included in Pro and Lifetime. See pricing

Floor 2: Gallery

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
floors(string | { name: string; detail?: string; mark?: string })[]"6 pisos"Floors of the building: strings or { name, detail?, mark? }, from lowest to highest.
valuenumber | undefined"auto"Selected floor, by index from 0 (controlled mode).
defaultValuenumber0Initial floor when not controlled from outside.
onChange(index: number) => voidundefinedCalled with the floor index as soon as one is chosen.
labelstring"Elevator"Name of the navigation and label engraved on the dial.
floorLabelstring"Floor {mark}"Floor label above the name and in the accessible texts; {mark} is replaced by the floor's numeral.
soundbooleanfalseSynthesized chime on arrival at the floor (only after pressing a button).
autoplaybooleanfalseCycles through the floors on its own until someone presses a button.
disabledbooleanfalseDisables the buttons.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Elevator Floors

npx shadcn@latest add @furin-pro/elevator-floors

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A 35 mm film strip gallery with sprocket holes and code-generated frames: drag with inertia, it bends over a roller and each photo develops from negative to color.

    Controls

  • The steps of a flow linked by metal gears that really mesh as they turn, with a little backlash between the teeth.

    Controls

  • A panel of metal toggle switches for filters: indicator lights that glow with inertia, an amber display and clicks.

    Controls