A panel that shows and hides with height motion you can reverse mid-way, without jumping the layout.
npx shadcn@latest add @hextaui/collapsible
collapsible