Skip to content
Menu

Buttons

Lift and Sink Button

Lift and Sink Button: A tinted monospace button that floats up on hover and sinks into its own inset shadow when pressed.

Using Lift and Sink Button

Lift and Sink 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
labeltextShip buildUp to 24 characters
accentcolor#536DFENo additional limit in the metadata.
travelnumber2From 1 to 6; step 1
heightnumber56From 40 to 72; step 2
Which frameworks are available for Lift and Sink Button?

Lift and Sink 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 Lift and Sink Button depend on?

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

What accessibility details are visible in Lift and Sink Button?

The React source for Lift and Sink Button includes: native elements (button); attributes and handlers (onKeyDown, onKeyUp). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Lift and Sink Button handle reduced motion?

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