Skip to content
Menu

Buttons

Tilted deck button

Tilted deck button: A button laid back in perspective like a key on a sloped deck, tipping further away and sliding down as it is hovered and pressed.

Using Tilted deck button

Tilted deck button uses the inline preview frame with a light/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
labeltextClick meUp to 20 characters
accentcolor#3F5EFBNo additional limit in the metadata.
tiltnumber15From 0 to 35; step 1
shadownumber29From 0 to 60; step 1
Which frameworks are available for Tilted deck button?

Tilted deck 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 Tilted deck button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Tilted deck button?

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

How does Tilted deck button handle reduced motion?

Tilted deck button reads the motion preference in its React source through matchMedia(prefers-reduced-motion). 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