--- templateEngineOverride: njk layout: layouts/page.njk title: Progress description: Displays an indicator showing the completion progress of a task, typically displayed as a progress bar. toc: - label: Usage id: usage --- {% from "macros/code_preview.njk" import code_preview %} {% from "macros/code_block.njk" import code_block %}
Progress bars are pure HTML composition using Tailwind utility classes. Use a container div for the track and an inner div for the indicator. Set the indicator's width with inline styles or via JavaScript.