Skip to content

The open alternative to Salesforce, designed for AI.

2.3 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="aria-hidden" type="Booleanish">
  Hide a decorative loader when another element supplies loading feedback.
</ParamField>

<ParamField body="aria-label" type="string">
  Accessible name for a labeled loader status.
</ParamField>

<ParamField body="aria-labelledby" type="string">
  ID of text that names the loader status.
</ParamField>

<ParamField body="className" type="string">
  CSS class merged with the loader container class.
</ParamField>

<ParamField body="color" type="&quot;amber&quot; | &quot;blue&quot; | &quot;bronze&quot; | &quot;brown&quot; | &quot;crimson&quot; | &quot;cyan&quot; | &quot;gold&quot; | &quot;grass&quot; | &quot;gray&quot; | &quot;green&quot; | &quot;iris&quot; | &quot;jade&quot; | &quot;lime&quot; | &quot;mint&quot; | &quot;orange&quot; | &quot;pink&quot; | &quot;plum&quot; | &quot;purple&quot; | &quot;red&quot; | &quot;ruby&quot; | &quot;sky&quot; | &quot;tomato&quot; | &quot;turquoise&quot; | &quot;violet&quot; | &quot;yellow&quot;">
  Theme color for the animated dot and border. When omitted, inherits the button color if available, otherwise the tertiary text color.
</ParamField>

<ParamField body="ref" type="Ref&lt;HTMLDivElement&gt;">
  Ref to the container div, or the element supplied through render.
</ParamField>

<ParamField body="render" type="ReactElement&lt;unknown, string | JSXElementConstructor&lt;any&gt;&gt; | ComponentRenderFn&lt;HTMLProps, {}&gt;">
  Element or render callback composed through Base UI useRender.
</ParamField>

<ParamField body="role" type="AriaRole">
  Supply status to expose loading feedback as a live region. No role is assigned by default.
</ParamField>

<ParamField body="style" type="CSSProperties">
  Native styles merged with the loader color defaults. Explicit styles win.
</ParamField>