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
*/}
<ParamField body="active" type="boolean" default="false">
Highlights the current destination or an action associated with the active tab. Does not change the control role.
</ParamField>
<ParamField body="badge" type="ReactNode">
Content following the label and trailing icon, such as a count.
</ParamField>
<ParamField body="className" type="string | ((state: ButtonState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="endIcon" type="ReactNode">
Decorative content displayed after the label.
</ParamField>
<ParamField body="focusableWhenDisabled" type="boolean" default="false">
Whether the button should be focusable when disabled.
</ParamField>
<ParamField body="href" type="string">
Destination URL. Renders a native anchor when `render` is omitted unless `nativeButton` is explicitly true. Custom renderers retain their own element contract.
</ParamField>
<ParamField body="nativeButton" type="boolean" default="true">
Whether the rendered root is a native button. Defaults to true for custom renderers. The built-in `href` anchor defaults to false; an explicit value takes precedence.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, ButtonState>">
Caller-supplied root element or renderer. Native attributes, handlers, event details, and refs reach the rendered root. Use `nativeButton={false}` and `role="link"` for a custom navigation anchor. Router integration belongs to the caller.
</ParamField>
<ParamField body="role" type="AriaRole">
Role of the root element. Use `link` for custom navigation renderers.
</ParamField>
<ParamField body="size" type=""md" | "sm"" default="sm">
Padding of the tab content: sm or md. Explicit size takes precedence over the ButtonGroup size, then sm applies.
</ParamField>
<ParamField body="startIcon" type="ReactNode">
Decorative content displayed before the label.
</ParamField>
<ParamField body="style" type="CSSProperties | ((state: ButtonState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>