Skip to content
Menu

Buttons

Perimeter draw button

Perimeter draw button: A short thick bar parked under the label stretches and travels around all four sides on hover until it closes into a full outline, then retracts back into the bar on leave.

Using Perimeter draw button

Perimeter draw 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#FF4D8DNo additional limit in the metadata.
labeltextSubscribeUp to 20 characters
strokeWidthnumber5From 1 to 10; step 1
durationnumber1000From 300 to 2500; step 50
washbooleantrueNo additional limit in the metadata.
Which frameworks are available for Perimeter draw button?

Perimeter draw 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 Perimeter draw button depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Perimeter draw button?

The React source for Perimeter draw button includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Perimeter draw button handle reduced motion?

Perimeter draw 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