Labels give way to tooltips at 3rem, with a rail and a trigger to drive it.
npx shadcn@latest add @reui/c-sidebar-2
ReUI limits how often it can be asked, and Icon rail that collapses hasn't had its turn. Its source will show here once it has.