View Source Phoenix.UI.Components.Progress (Phoenix UI v0.1.9)
Provides progress-related components.
Link to this section Summary
Functions
A progress component displays the status of a given process.
Link to this section Functions
@spec progress(Phoenix.LiveView.Socket.assigns()) :: Phoenix.LiveView.Rendered.t()
A progress component displays the status of a given process.
examples
Examples
<.progress variant="radial" />
attributes
Attributes
color
(:string
) - The color of the component. Defaults to"blue"
.extend_class
(:string
) - Extend existing classes applied to the component. Defaults tonil
.size
(:any
) - The size of the component.square
(:boolean
) - If true, rounded corners are disabled. Defaults tofalse
.text
(:string
) - Draws a graphics element consisting of text. Defaults tonil
.value
(:integer
) - The value of the progress indicator for the determinate variant. Value between 0 and 100. Defaults to30
.variant
(:string
) - The variant to use. Defaults to"radial"
.- Global attributes are accepted. Arbitrary HTML or phx attributes.