Skip to content
Menu

Buttons

Press block button

Press block button: A rounded block button resting on a solid ledge of shadow that shortens as the button travels down under a press.

Using Press block button

Press block 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
labeltextSave changesUp to 24 characters
accentcolor#FF6A1FNo additional limit in the metadata.
depthnumber6From 2 to 12; step 1
disabledbooleanfalseNo additional limit in the metadata.
Which frameworks are available for Press block button?

Press block 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 Press block button depend on?

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

What accessibility details are visible in Press block button?

The React source for Press block button includes: native elements (button). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Press block button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Press block 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