Accessibility
SplitButton from @prepared911/ui/split-button is a primary action paired with a menu trigger in a single visual cluster. The component renders two separate controls; your job is to keep their accessible names distinct and ensure the menu behavior handles focus correctly on open and close.
Menu contract for roving focus.Dialog confirmation.<button>.<button> with aria-haspopup and aria-expanded reflecting menu state.role="menu" with role="menuitem" children.Menu alone. If the primary action isn't important enough to warrant a dedicated button, use a plain Menu and promote the primary item inside it.