--- title: "htmx.config.indicatorClass" description: "CSS class for loading indicators" --- The `htmx.config.indicatorClass` option sets the CSS class applied to elements specified by [`hx-indicator`](/reference/attributes/hx-indicator) during requests. **Default:** `"htmx-indicator"` ## Example ```javascript htmx.config.indicatorClass = "loading"; ``` ```html ``` Elements with this class can be styled to show loading states.