Progress
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Progress component CSS, and one style pack.
Using CDN or bundler imports? See the Installation page.
Add your progress HTML
Add class="progress" and role="progressbar" to the root. Use one child <span> as the visual indicator.
HTML structure
<div class="progress" role="progressbar">- Progress root. Set
aria-labeloraria-labelledby, plusaria-valuenow,aria-valuemin, andaria-valuemax. <span style="width: ...">- Visual indicator. Its width should match the current value.
Examples
Label
RTL
Progress supports dir="rtl" on the root or a parent.