Discover / Layout
Collapsible
Show or hide supplementary content.
Usage notes
Use a descriptive trigger that makes the hidden content easy to understand.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Collapsible, CollapsiblePanel, CollapsibleTrigger } from "@easyui/react";
export default function Example() {
return (
<Collapsible>
<CollapsibleTrigger>Show project details</CollapsibleTrigger>
<CollapsiblePanel>Created for the design team.</CollapsiblePanel>
</Collapsible>
);
}