Deprecated alias of LanternUI.Components.Progress.progress/1 with
shape="ring". Removed in 0.9.0.
<.progress shape="ring" value={7} max={19} label="Completion">7 / 19</.progress>
Summary
Functions
progress_ring(assigns)
deprecated
Functions
This function is deprecated. Use progress/1 with shape="ring". Removed in 0.9.0..
Attributes
value(:integer) - Completed amount. Ignored whenscopeis set. Defaults tonil.max(:integer) - Total amount. Defaults to 100 when onlyvalueis set. Defaults tonil.completed(:integer) - Flicker alias ofvalue; used withscope. Defaults tonil.scope(:integer) - Flicker alias ofmax. Defaults tonil.size(:string) - sm is 28px; md is 40px. Defaults to"md". Must be one of"sm", or"md".color(:string) - Semantic colour of the progress stroke. Defaults to"success". Must be one of"success","accent","primary","danger","warning", or"info".label(:string) - Accessible name. Decorative (aria-hidden) when omitted and no inner slot. Defaults tonil.class(:any) - Extra classes merged onto the root element. Defaults tonil.- Global attributes are accepted. Arbitrary HTML/
phx-*attributes passed through.
Slots
inner_block- Optional caption beside the ring (counts, short copy).