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
*/}
### Card.Root
<ParamField body="Root.backgroundColor" type="string">
CSS background color of the outer card. Child sections have their own backgrounds.
</ParamField>
<ParamField body="Root.children" type="ReactNode">
Card sections or other content.
</ParamField>
<ParamField body="Root.className" type="string">
CSS class merged with the part class.
</ParamField>
<ParamField body="Root.fullWidth" type="boolean">
Sets the card width to 100% of its container.
</ParamField>
<ParamField body="Root.ref" type="Ref<HTMLDivElement>">
Ref to the default div, or the element supplied through render.
</ParamField>
<ParamField body="Root.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner.
</ParamField>
<ParamField body="Root.style" type="CSSProperties">
Native styles applied to the rendered part.
</ParamField>
<ParamField body="Root.variant" type=""compact" | "default"" default="default">
default keeps the standard section appearance. compact uses secondary section backgrounds, 8px header and footer padding, 8px horizontal content padding without vertical padding, and no header divider.
</ParamField>
### Card.Action
<ParamField body="Action.children" type="ReactNode">
Optional content inside the stretched action. Supply an accessible name for empty actions.
</ParamField>
<ParamField body="Action.className" type="string">
CSS class merged with the action class.
</ParamField>
<ParamField body="Action.disabled" type="boolean" default="false">
Disables native button owners and suppresses the action hover treatment. Links and associated controls remain responsible for their own disabled behavior.
</ParamField>
<ParamField body="Action.ref" type="Ref<HTMLButtonElement>">
Ref to the default button, or the element supplied through render.
</ParamField>
<ParamField body="Action.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Native element or render callback composed through Base UI useRender. Links retain native navigation and labels activate their associated controls without an additional keyboard target.
</ParamField>
<ParamField body="Action.style" type="CSSProperties">
Native styles applied to the rendered action.
</ParamField>
### Card.Control
<ParamField body="Control.children" type="ReactNode">
Independent controls or tooltip targets lifted above a sibling Card.Action.
</ParamField>
<ParamField body="Control.className" type="string">
CSS class merged with the control class.
</ParamField>
<ParamField body="Control.ref" type="Ref<HTMLSpanElement>">
Ref to the default span, or the element supplied through render.
</ParamField>
<ParamField body="Control.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Element or render callback composed through Base UI useRender. The supplied control retains its native attributes, events and semantics.
</ParamField>
<ParamField body="Control.style" type="CSSProperties">
Native styles applied to the rendered control wrapper.
</ParamField>
### Card.Header
<ParamField body="Header.children" type="ReactNode">
Header content. Supply a Heading when the title should be a semantic heading.
</ParamField>
<ParamField body="Header.className" type="string">
CSS class merged with the part class.
</ParamField>
<ParamField body="Header.ref" type="Ref<HTMLDivElement>">
Ref to the default div, or the element supplied through render.
</ParamField>
<ParamField body="Header.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner.
</ParamField>
<ParamField body="Header.style" type="CSSProperties">
Native styles applied to the rendered part.
</ParamField>
### Card.Content
<ParamField body="Content.children" type="ReactNode">
Content displayed in the padded body.
</ParamField>
<ParamField body="Content.className" type="string">
CSS class merged with the part class.
</ParamField>
<ParamField body="Content.divider" type="boolean">
Adds a bottom border.
</ParamField>
<ParamField body="Content.ref" type="Ref<HTMLDivElement>">
Ref to the default div, or the element supplied through render.
</ParamField>
<ParamField body="Content.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner.
</ParamField>
<ParamField body="Content.style" type="CSSProperties">
Native styles applied to the rendered part.
</ParamField>
### Card.Footer
<ParamField body="Footer.children" type="ReactNode">
Footer content, such as actions or supporting text.
</ParamField>
<ParamField body="Footer.className" type="string">
CSS class merged with the part class.
</ParamField>
<ParamField body="Footer.divider" type="boolean" default="true">
Shows the top border unless explicitly set to false.
</ParamField>
<ParamField body="Footer.ref" type="Ref<HTMLDivElement>">
Ref to the default div, or the element supplied through render.
</ParamField>
<ParamField body="Footer.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, {}>">
Element or render callback composed through Base UI useRender. Supply native button or link attributes on the rendered owner.
</ParamField>
<ParamField body="Footer.style" type="CSSProperties">
Native styles applied to the rendered part.
</ParamField>