Loader
An animated multi-dot loading indicator for pending AI responses.
$
Registry itembunx shadcn@latest add @nx-ui/ai-loaderInstalls withutils
Used byai-chat
Default
A spinning multi-spoke indicator at its default 16px size.
Sizes
Pass a `size` in pixels to scale the indicator.
Inline with text
It inherits the current text colour, so it sits naturally alongside a status label.
Generating response…Thinking…
API reference
Exported parts and their props, extracted from the component source.
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | 16 | — |
…extends HTMLAttributes<HTMLDivElement>