//
A loading indicator.
bun add xiod-ui1import { Loader } from "xiod-ui/loader";1<Loader>2</Loader>| Prop | Type | Default | Description |
|---|---|---|---|
render | ReactElement<unknown, string| JSXElementConstructor<any>>| ComponentRenderFn<HTMLProps, {}>| undefined | - | 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. |
size | "sm"| "lg"| "md"| "xl"| null| undefined | md | |
variant | "expressive"| "ring"| "pulse"| "dots"| "circular-arrows"| "radial-pulse"| "arc-head"| "segmented-ring"| "chunked-circular"| "petal"| "orbiting-dots"| "dotted-ring"| ... 4 more ...| undefined | ring | |
intent | "default"| "primary"| "success"| "warning"| "danger"| "muted"| null| undefined | default |