Spinner

Spinner is an animation component used when we load data or perform some operation whose time is difficult to predict.

SpinnerBosons

Color
Color from the Tailwind palette.
type: string
default: primary
values: primary, secondary, warning, info, success, danger
Size
Spinner size.
type: string
default: md
values: xs, sm, md, lg, xl, full

Examples

Spinner in different sizes
xs
sm
md
lg
xl
1// Default spinner
2
3@protons.Spinner(
4  &protons.SpinnerBosons{
5    Size: "md",
6  },
7)
Spinner in different colors
primary
secondary
warning
danger
success
info
1// Spinner in primary color
2
3@protons.Spinner(
4  &protons.SpinnerBosons{
5    Color: "primary",
6  },
7)

Let's dive deeper and connect!

Gopress is brought to you by Pay For Done. We specialize in crafting products and services rooted in design systems. Join our community to discuss how we can support you.


© 2024 Pay For Done. All Rights Reserved. Website compliant with W3C validation.