RadialProgress

ModifierDaisyUI class
:primarybg-primary text-primary-content border-primary
:primary_outlinetext-primary
:secondarybg-secondary text-secondary-content border-secondary
:secondary_outlinetext-secondary
:accentbg-accent text-accent-content border-accent
:accent_outlinetext-accent
:neutralbg-neutral text-neutral-content border-neutral
:neutral_outlinetext-neutral
:base_100bg-base-100 text-base-content border-base-100
:base_100_outlinetext-base-100
:base_200bg-base-200 text-base-content border-base-200
:base_200_outlinetext-base-200
:base_300bg-base-300 text-base-content border-base-300
:base_300_outlinetext-base-300
:infobg-info text-info-content border-info
:info_outlinetext-info
:successbg-success text-success-content border-success
:success_outlinetext-success
:warningbg-warning text-warning-content border-warning
:warning_outlinetext-warning
:errorbg-error text-error-content border-error

# RadialProgress

1
RadialProgress value: 70 do
2
  "70%"
3
end
70%

# Different values

1
[0, 20, 60, 80, 100].map do |value|
2
  RadialProgress value: do
3
    "#{value}%"
4
  end
5
end
0%
20%
60%
80%
100%

# Custom color

1
RadialProgress :primary_outline, value: 70 do
2
  "70%"
3
end
70%

# With background color and border

1
RadialProgress :primary, value: 70, class: "border-4" do
2
  "70%"
3
end
70%

# Custom size and custom thickness

1
RadialProgress value: 70, size: "12rem", thickness: "2px" do
2
  "70%"
3
end
4
5
RadialProgress value: 70, size: "12rem", thickness: "2rem" do
6
  "70%"
7
end
70%
70%