Skip to content
Menu

Buttons

Diagonal blob flood button

Diagonal blob flood button: An outlined button flooded by a large rounded blob that slides in diagonally from off its top corner and darkens while held.

Using Diagonal blob flood button

Diagonal blob flood 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
labeltextPublish changesUp to 20 characters
accentcolor#7C5CFFNo additional limit in the metadata.
pressAccentcolor#4C2FCFNo additional limit in the metadata.
durationnumber0.8From 0.2 to 1.6; step 0.05
radiusnumber6From 0 to 20; step 1
Which frameworks are available for Diagonal blob flood button?

Diagonal blob flood 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 Diagonal blob flood button depend on?

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

What accessibility details are visible in Diagonal blob flood button?

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

How does Diagonal blob flood button handle reduced motion?

Diagonal blob flood button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: left: flooded || reducedMotion ? SHOWN.left : HIDDEN.left; opacity: reducedMotion && !flooded ? 0 : 1; top: flooded || reducedMotion ? SHOWN.top : HIDDEN.top. 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