Skip to content
Menu

Buttons

Inset plate button

Inset plate button: A button inside a button: an outer shell holds a smaller floating plate that carries the label, and pressing shrinks only the inner plate while the shell stays put.

Using Inset plate button

Inset plate 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
accentcolor#7C5CFFNo additional limit in the metadata.
labeltextPublishUp to 20 characters
insetnumber5From 2 to 14; step 1
pressScalenumber0.67From 0.4 to 0.95; step 0.01
radiusnumber10From 0 to 24; step 1
Which frameworks are available for Inset plate button?

Inset plate 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 Inset plate button depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

What accessibility details are visible in Inset plate button?

The React source for Inset plate button includes: 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 Inset plate button handle reduced motion?

Inset plate button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: pressed && reduced ? "bg-[color:var(--plate-core-pressed)] transition-none" : ""; scale: pressed && !reduced ? pressScale : 1. 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