The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
{/*
* _____ _
*|_ _|_ _____ _ __ | |_ _ _
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
* | | \ V V / __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
* |_| \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
* |___/
*
* This file is generated from the documentation data in packages/twenty-ui/generated.
* To update it, edit the component prop types or design tokens in twenty-ui and run:
* npx nx generate:ui twenty-docs
*/}
### Collapsible.Root
<ParamField body="Root.className" type="string | ((state: CollapsibleRootState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="Root.defaultOpen" type="boolean" default="false">
Initial uncontrolled expansion state.
</ParamField>
<ParamField body="Root.disabled" type="boolean" default="false">
Default disabled state inherited by the triggers in this root.
</ParamField>
<ParamField body="Root.onOpenChange" type="((open: boolean, eventDetails: CollapsibleRootChangeEventDetails) => void)">
Called with the requested open state and cancelable Base UI event details.
</ParamField>
<ParamField body="Root.open" type="boolean">
Controlled expansion state. Use defaultOpen for uncontrolled state.
</ParamField>
<ParamField body="Root.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, CollapsibleRootState>">
Replaces the root div. Forward the supplied props and ref.
</ParamField>
<ParamField body="Root.style" type="CSSProperties | ((state: CollapsibleRootState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>
### Collapsible.Trigger
<ParamField body="Trigger.className" type="string | ((state: CollapsibleTriggerState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="Trigger.disabled" type="boolean">
Disables this trigger.
</ParamField>
<ParamField body="Trigger.nativeButton" type="boolean" default="true">
Set to false when render replaces the native button with another element.
</ParamField>
<ParamField body="Trigger.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, CollapsibleTriggerState>">
Replaces the linked trigger button. Forward the supplied props and ref.
</ParamField>
<ParamField body="Trigger.style" type="CSSProperties | ((state: CollapsibleTriggerState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>
### Collapsible.Panel
<ParamField body="Panel.className" type="string | ((state: CollapsiblePanelState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="Panel.containAnimation" type="boolean" default="true">
Clips overflowing content during expansion and uses a column layout.
</ParamField>
<ParamField body="Panel.dimension" type=""height" | "width"" default="height">
Dimension animated when the panel opens and closes.
</ParamField>
<ParamField body="Panel.duration" type=""fast" | "instant" | "normal" | "slow"" default="normal">
Theme timing preset for both size and opacity. Native style can customize transition timing.
</ParamField>
<ParamField body="Panel.hiddenUntilFound" type="boolean" default="false">
Uses hidden until-found so browser page search can reveal the contents. Overrides keepMounted.
</ParamField>
<ParamField body="Panel.keepMounted" type="boolean" default="false">
Keeps the closed panel mounted and hidden, preserving local content state.
</ParamField>
<ParamField body="Panel.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, CollapsiblePanelState>">
Replaces the animated panel div. Forward the supplied props and ref.
</ParamField>
<ParamField body="Panel.style" type="CSSProperties | ((state: CollapsiblePanelState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>