Collapsible
Disclosure rows: a pill row with the title 12px in, a chevron at its end that turns in 200ms, and a measured height animation.
<div className="w-480">
<Collapsible title="Advanced" hint="2 settings">
<p className="text-body text-fg-secondary">Timeout overrides and the egress dialect.</p>
</Collapsible>
</div>import { Collapsible } from "@logicplanes/kaeso-ui";Props
childrenReactNodeThe content that shows when it is open.
defaultOpenbooleanWhether it starts open, when the component keeps its own state.
hintReactNodeSecondary text at the end of the row.
onOpenChange((open: boolean) => void)Called when it opens or closes.
openbooleanWhether it is open, when you control it.
titleReactNodeThe heading that opens and closes it.