Use Content Height โ shadcn/ui Hook by mizzle | shadcnregistry
Use Content Height
hook
The live height of an element's content, for a container that animates its height to fit as the content opens, closes or grows. Includes a settled flag so a section that starts open does not animate in.