A useState-shaped hook that lets one component serve both controlled (value/onChange) and uncontrolled (defaultValue) callers, with a stable setter and prop-accurate updaters.
npx shadcn@latest add @zyeon/use-controllable-stateZyeon UI limits how often it can be asked, and useControllableState hasn't had its turn. Its source will show here once it has.