View Source DaisyUIComponents.Loading (DaisyUIComponents v0.6.0)
Loading component
Summary
Functions
Renders a loading.
Functions
Renders a loading.
Examples
<.loading></.loading>
<.loading phx-click="go" shape="infinity" color="warning" size="lg" ></.loading>
Attributes
class
(:string
) - Defaults tonil
.shape
(:string
) (required) - Must be one of"spinner"
,"dots"
,"ring"
,"ball"
,"bars"
, or"infinity"
.color
(:string
) - Must be one of"primary"
,"secondary"
,"accent"
,"info"
,"success"
,"warning"
,"error"
, or"neutral"
.size
(:string
) - Must be one of"xs"
,"sm"
,"md"
, or"lg"
.- Global attributes are accepted. Supports all globals plus:
["id"]
.