Component packs › Pressworks › Call Button

Call Button

A lift call button on brushed steel: the light ring fills round from the exact point you pressed and stays lit until done().

Call Button is a button from Pressworks, a component pack with 8 buttons: Eight buttons, each a different real mechanism you can feel. Price: $2 for the whole pack.

Built with: ring fills from the touch point, spun-metal face, braille legend.

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.

Call Button props

PropTypeDefaultDescription
labelstringEngraved legend on the plate.
ariaLabelstringthe labelAccessible name; defaults to the label.
pendingTextstringStatus text under the plate while the request is open.
doneTextstringStatus text after done().
glyph'up' | 'down' | 'bell'Glyph lit inside the button.
disabledboolean
onCall() => voidCalled once when a request is registered.
autoDonenumberLights out by itself after N ms (0 = stays lit until done()).
theme'light' | 'dark'
sizenumberScale factor. 1 = 150 × 212 px plate.
autoplaynumber | falseShowcase mode: calls, then arrives, every N ms while visible.

Methods on the ref

Use it in React

import CallButton from './CallButton';

<CallButton />

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

More in Pressworks

Good for: Buttons.