We use cookies to ensure you get the best experience on our website. Read our privacy policy

Skip to main content

Directory

Status Badge Component

Communicate status information effectively with visually distinct badges. The Status Badge component helps users quickly identify the state of tasks, processes, or items through intuitive colors and clear labels.

<Status status="in-progress" />

Working on it

<Status status="in-progress" label="Working on it" />

Choose from four pre-defined status types to match your content needs:

Tailor the Status Badge to your specific needs:

Finished

The status can be updated via JavaScript to change the status of the badge using the data-status attribute.

const statusBadge = document.querySelector<StatusElement>('#status-badge-example');
statusBadge.dataset.status = 'in-progress';
Status Badge Component Extends <div> HTMLElement
Prop Type Default Description
status completed | in-progress | pending | failed pending Status type to display
label string Custom label text (defaults to capitalized status if not provided)
  • Check Circle

    Visual Clarity: Instantly communicate status with intuitive color coding

  • Check Circle

    Consistent Feedback: Provide uniform status indicators throughout your interface

  • Check Circle

    Flexible Implementation: Works in dashboards, tables, cards, and more

  • Check Circle

    Customizable Content: Add additional information beneath the status indicator

  • Check Circle

    Accessibility Focused: Designed with clear visual and semantic indicators

Limited Time Launch Sale

Enhance your user interface with clear, consistent status indicators. Get our AstroJS starter template now and have your site ready for production in no time.

GET 60% OFF!
North Star Themes Logo

Subscribe to our newsletter

Get the latest AstroJS tips and tricks right to your inbox

Email: [email protected]

© 2025 North Star Themes

Web Kit Provided By North Star Themes