Show a model's thinking: a shimmer while it thinks, then how long it took, folding open to the steps, built on Base UI.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The steps of the thinking, shown when it is open. |
| The steps of the thinking, shown when it is open. | |||
thinking | boolean | false | Still thinking: a shimmering line, open on its steps. |
| Still thinking: a shimmering line, open on its steps. | |||
seconds | number | - | How long it thought, for the line once it is done. |
| How long it thought, for the line once it is done. | |||
defaultOpen | boolean | false | |
shape | none | rounded | pill | rounded | |
className | string | - | |
focus | boolean | string | true | |