Skip to content

The open alternative to Salesforce, designed for AI.

4.0 KB
Raw Blame
{/*
 * _____                    _
 *|_   _|_      _____ _ __ | |_ _   _
 *  | | \ \ /\ / / _ \ '_ \| __| | | | 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">
  Trailing content, such as buttons, rendered after the content.
</ParamField>

<ParamField body="actionsPlacement" type="&quot;auto&quot; | &quot;end&quot;" default="auto">
  Keeps actions beside the content at every width when set to `end`. The default `auto` preserves responsive wrapping. Hidden end actions do not reserve width on devices without touch.
</ParamField>

<ParamField body="actionsVisibility" type="&quot;always&quot; | &quot;hover&quot;" default="hover">
  When trailing actions are visible: on hover and focus, or always.
</ParamField>

<ParamField body="active" type="boolean" default="false">
  Marks the open or current item independently of selection and focus. Does not add accessible state or activate the item.
</ParamField>

<ParamField body="color" type="&quot;danger&quot; | &quot;neutral&quot;" default="neutral">
  Color of the text and icons. `danger` marks a destructive action.
</ParamField>

<ParamField body="description" type="ReactNode">
  Supporting text, placed according to `descriptionPlacement`.
</ParamField>

<ParamField body="descriptionPlacement" type="&quot;below&quot; | &quot;end&quot; | &quot;inline&quot;" default="inline">
  Places supporting content inline after the label, at the end, or below it with wrapping. Inline is the default.
</ParamField>

<ParamField body="disabled" type="boolean" default="false">
  Applies disabled styling only. Set native disabled behavior and accessible semantics on the button, link, or popup item owner.
</ParamField>

<ParamField body="endIcon" type="ReactNode">
  Icon rendered after the content.
</ParamField>

<ParamField body="focused" type="boolean" default="false">
  Applies highlighted styling without moving DOM focus or handling keyboard navigation.
</ParamField>

<ParamField body="hasSubmenu" type="boolean" default="false">
  Shows a chevron indicating that the item opens a submenu.
</ParamField>

<ParamField body="indicator" type="&quot;check&quot; | &quot;checkbox&quot; | &quot;none&quot;" default="none">
  Selection indicator: a check icon after the content or a checkbox before
  it.
</ParamField>

<ParamField body="ref" type="Ref&lt;HTMLElement&gt;">
  Ref to the actual DOM root, including a composed native button or link.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, ListItemState&gt;">
  Composes the row with an element or render callback. The owner supplies interaction semantics, native attributes, and behavior.
</ParamField>

<ParamField body="selected" type="boolean" default="false">
  Applies selected styling and the configured decorative indicator. Selection state and accessible semantics belong to the owner.
</ParamField>

<ParamField body="selectionAppearance" type="&quot;accent&quot; | &quot;default&quot;" default="default">
  Selection styling independent of description placement. `default` preserves indicator-based styling; `accent` fills selected rows with the accent background.
</ParamField>

<ParamField body="shortcut" type="ShortcutDefinition">
  Keyboard shortcut keys displayed at the end of the row. Registering the
  shortcut is up to the application.
</ParamField>

<ParamField body="shortcutJoinLabel" type="string">
  Text between sequential shortcut steps. Defaults to `then`; pass an empty string to omit it.
</ParamField>

<ParamField body="startIcon" type="ReactNode">
  Icon rendered before the content.
</ParamField>