Popover with motion: it springs out of its trigger from the side it opens on, and glides to its new height when what's inside changes.
pnpm dlx shadcn@latest add "https://dashral.com/r/motion-popover.json"