Back to library

HTML / BUTTON

Split Action

A primary action and adjacent options menu that remain distinct, reachable and easy to understand.

Ready
LIVE RENDERERHTML / TS · VARIANT 01
RUNNING
SEMANTIC HTMLTYPESCRIPTKEYBOARD READY
03 VARIANTSSELECT A STARTING STATE
01
02
03
RENDERERHTML / TS
DEPENDENCIESReact + TypeScript + CSS
OUTPUTSemantic interface component
MOTIONReduced-safe
WHAT IT DOES

A primary action and adjacent options menu that remain distinct, reachable and easy to understand.

BEST FOR
  • Primary actions
  • Product controls
  • Conversion moments
KEY FEATURES
  • Separated primary and disclosure actions
  • Original dependency-free React and TypeScript implementation
  • Pointer, touch and keyboard-safe controls
  • Responsive compact and reduced-motion states
PERFORMANCE

No animation package or external preview asset is required. Layout is container-scoped and decorative motion is disabled when reduced motion is requested.

INTERACTION

Pointer, touch, horizontal trackpad and keyboard states use the same underlying component state.

ACCESSIBILITY

Native landmarks and controls preserve reading order, visible focus and keyboard access. Motion never carries the only meaning.

BEHAVIOR

Built to move without taking over.

USE IT

Sign in, copy the source, rename it, tune the values and ship it inside your own system.