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="children" type="ReactNode">
Option content. Card options wrap it in a padded full-width content area.
</ParamField>
<ParamField body="className" type="string | ((state: RadioRootState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="disabled" type="boolean">
Whether the component should ignore user interaction.
</ParamField>
<ParamField body="inputRef" type="Ref<HTMLInputElement>">
A ref to access the hidden input element.
</ParamField>
<ParamField body="nativeButton" type="boolean" default="false">
Whether the component renders a native `<button>` element when replacing it
via the `render` prop.
Set to `true` if the rendered element is a native button.
</ParamField>
<ParamField body="readOnly" type="boolean">
Whether the user should be unable to select the radio button.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, RadioRootState>">
Allows you to replace the component's HTML element
with a different tag, or compose it with another component.
Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>
<ParamField body="required" type="boolean">
Whether the user must choose a value before submitting a form.
</ParamField>
<ParamField body="size" type=""md" | "sm"" default="sm">
Visual size of the radio.
</ParamField>
<ParamField body="style" type="CSSProperties | ((state: RadioRootState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>
<ParamField body="value" type="TValue" required>
The unique identifying value of the radio in a group.
</ParamField>
<ParamField body="variant" type=""card" | "default"" default="default">
Appearance of the styled assembly: a standard radio or a full-width card. Standard radios use a span and card radios use a div unless render replaces the root.
</ParamField>
### Radio.Root
<ParamField body="Root.className" type="string | ((state: RadioRootState) => 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.disabled" type="boolean">
Whether the component should ignore user interaction.
</ParamField>
<ParamField body="Root.inputRef" type="Ref<HTMLInputElement>">
A ref to access the hidden input element.
</ParamField>
<ParamField body="Root.nativeButton" type="boolean" default="false">
Whether the component renders a native `<button>` element when replacing it
via the `render` prop.
Set to `true` if the rendered element is a native button.
</ParamField>
<ParamField body="Root.readOnly" type="boolean">
Whether the user should be unable to select the radio button.
</ParamField>
<ParamField body="Root.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, RadioRootState>">
Allows you to replace the component's HTML element
with a different tag, or compose it with another component.
Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>
<ParamField body="Root.required" type="boolean">
Whether the user must choose a value before submitting a form.
</ParamField>
<ParamField body="Root.style" type="CSSProperties | ((state: RadioRootState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>
<ParamField body="Root.value" type="Value" required>
The unique identifying value of the radio in a group.
</ParamField>
### Radio.Indicator
<ParamField body="Indicator.className" type="string | ((state: RadioIndicatorState) => string | undefined)">
CSS class applied to the element, or a function that
returns a class based on the component's state.
</ParamField>
<ParamField body="Indicator.keepMounted" type="boolean" default="false">
Whether to keep the HTML element in the DOM when the radio button is inactive.
</ParamField>
<ParamField body="Indicator.render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, RadioIndicatorState>">
Allows you to replace the component's HTML element
with a different tag, or compose it with another component.
Accepts a `ReactElement` or a function that returns the element to render.
</ParamField>
<ParamField body="Indicator.style" type="CSSProperties | ((state: RadioIndicatorState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>