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="actions" type="ReactNode">
Controls rendered after the search field, such as a filter Dropdown. Set their size and accessible names on the controls.
</ParamField>
<ParamField body="aria-label" type="string">
Accessible name when aria-labelledby is absent.
</ParamField>
<ParamField body="aria-labelledby" type="string">
ID of the element that labels the input. Takes precedence over aria-label.
</ParamField>
<ParamField body="autoFocus" type="boolean">
Focuses the input when mounted.
</ParamField>
<ParamField body="className" type="string | ((state: InputState) => string | undefined)">
Class applied to the input.
</ParamField>
<ParamField body="defaultValue" type="string | number | readonly string[]">
The default value of the input. Use when uncontrolled.
</ParamField>
<ParamField body="disabled" type="boolean">
Disables the text input. Controls in actions keep their own state.
</ParamField>
<ParamField body="hasFocusRing" type="boolean" default="false">
Shows the group focus border. Defaults to false for all search inputs. Set true to opt in. Error styling remains visible.
</ParamField>
<ParamField body="id" type="string">
Input ID, generated when omitted.
</ParamField>
<ParamField body="onChange" type="((event: BaseUIEvent<ChangeEvent<HTMLInputElement, HTMLInputElement>>) => void)">
Native input change event handler.
</ParamField>
<ParamField body="onValueChange" type="((value: string, eventDetails: { reason: "none"; event: Event; cancel: () => void; allowPropagation: () => void; isCanceled: boolean; isPropagationAllowed: boolean; trigger: Element | undefined; }) => void)">
Called with the new text. The application owns filtering.
</ParamField>
<ParamField body="placeholder" type="string">
Hint shown when the input is empty. Also used as the accessible name if no explicit label is supplied.
</ParamField>
<ParamField body="ref" type="Ref<HTMLInputElement>">
Ref to the native input element.
</ParamField>
<ParamField body="render" type="ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, InputState>">
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="size" type=""md" | "sm"" default="md">
Visual size of the input group.
</ParamField>
<ParamField body="style" type="CSSProperties | ((state: InputState) => CSSProperties | undefined)">
Style applied to the element, or a function that
returns a style object based on the component's state.
</ParamField>
<ParamField body="textAlign" type=""end" | "start"">
Aligns text to the logical start or end of the input. Follows the text direction.
</ParamField>
<ParamField body="value" type="string | number | readonly string[]">
Current search text.
</ParamField>