Skip to content

The open alternative to Salesforce, designed for AI.

1.9 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="attached" type="boolean" default="true">
  Join adjacent controls. Set to false for independently rounded buttons with a 2px gap.
</ParamField>

<ParamField body="color" type="&quot;accent&quot; | &quot;danger&quot; | &quot;inherit&quot; | &quot;neutral&quot; | &quot;success&quot;">
  Default semantic color for children without an explicit color. Inherited color requires each child to resolve to a non-solid variant; explicit child overrides take precedence.
</ParamField>

<ParamField body="framed" type="boolean" default="false">
  Add a translucent frame with padding and concentric corners. Button sizes and appearance remain independent unless set on the group.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  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="&quot;md&quot; | &quot;sm&quot;">
  Default button height for children without an explicit size.
</ParamField>

<ParamField body="variant" type="&quot;ghost&quot; | &quot;link&quot; | &quot;outline&quot; | &quot;soft&quot; | &quot;solid&quot;">
  Default surface treatment for children without an explicit variant.
</ParamField>