View Source Shino.UI.Progress (shino v0.2.0-alpha.1)

Provides progress related components.

Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

References

Summary

Functions

Renders a progress bar.

Functions

Renders a progress bar.

Examples

<.progress value={0} />
<.progress value={100} />

Customize the height of progress bar:

<.progress value={22} class="h-2"/>

Attributes

  • value (:integer) - Defaults to 0.
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.