View Source Shino.UI.Progress (shino v0.1.1-alpha.0)

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 (:string) - Defaults to nil.
  • Global attributes are accepted.