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

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 to nil.
  • size (:any) - The size of the component.
  • square (:boolean) - If true, rounded corners are disabled. Defaults to false.
  • text (:string) - Draws a graphics element consisting of text. Defaults to nil.
  • value (:integer) - The value of the progress indicator for the determinate variant. Value between 0 and 100. Defaults to 30.
  • variant (:string) - The variant to use. Defaults to "radial".
  • Global attributes are accepted. Arbitrary HTML or phx attributes.