Spinner
Description
A loading indicator as the loader-circle Lucide icon with the animate-spin utility.
Usage
bc_spinner(label = "Loading", size = NULL, ...)
Arguments
| Argument | Description |
|---|---|
label |
String. The accessible aria-label. |
size |
String. A Tailwind size utility suffix, e.g. "4" for size-4. NULL uses the icon's natural size. |
... |
Tag attributes for the <svg>. |
Value
An <svg> tag.
Examples
bc_spinner()
bc_spinner(size = "6")