Skip to content
Menu

Buttons

Hard edge key button

Hard edge key button: A compact hardware-style key that flips its highlight, outline and shadow inward the instant you press it.

Using Hard edge key button

Hard edge key button uses the inline preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
labeltextCommitUp to 20 characters
accentcolor#F5C542No additional limit in the metadata.
radiusnumber2From 0 to 10; step 1
speednumber50From 0 to 200; step 10
Which frameworks are available for Hard edge key button?

Hard edge key button is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Hard edge key button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Hard edge key button?

The React source for Hard edge key button includes: native elements (button); attributes and handlers (onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Hard edge key button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Hard edge key button's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components