Skip to content

The open alternative to Salesforce, designed for AI.

1.5 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="children" type="ReactNode">
  Caller-provided text, numbers, icons, or other inline content.
</ParamField>

<ParamField body="color" type="&quot;accent&quot; | &quot;inherit&quot; | &quot;primary&quot; | &quot;secondary&quot; | &quot;tertiary&quot;" default="tertiary">
  Neutral tertiary, inherited text, solid primary accent, soft accent tint, or secondary treatment.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  Replaces the default span. Native props, handlers, and the ref target the rendered element.
</ParamField>

<ParamField body="shape" type="&quot;circle&quot; | &quot;pill&quot;" default="pill">
  Rounded pill label or fixed circle with width equal to its height. Use pill for longer content.
</ParamField>

<ParamField body="size" type="&quot;md&quot; | &quot;sm&quot; | &quot;xs&quot;" default="sm">
  Compact height, font size, and spacing: xs, sm, or md.
</ParamField>