<indicator>
A loading indicator: a circular spinner, a linear bar or the iOS-style spinner.
<column style="gap-24 w-full">
<row style="gap-24 items-center">
<indicator type="circular"
color="blue"
show/>
<indicator type="cupertino"
show/>
<text style="muted">Syncing photos…</text>
</row>
<indicator type="linear"
color="teal"
show/>
</column>
Attributes
| Name | What it does | Default |
|---|---|---|
color |
Indicator color color |
primary |
show |
Show the indicator boolean |
false |
type |
Indicator type circular, linear, refresh, cupertino, text, content |
circular |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.