---
title: Loader
description: JSON Schema for the Loader component.
---

Animated activity indicator.

```json
{
  "type": "object",
  "properties": {
    "type": {
      "const": "Loader",
      "default": "Loader",
      "type": "string"
    },
    "cssClass": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "description": "CSS/Tailwind classes for styling. Accepts a Responsive() for breakpoint-aware classes."
    },
    "variant": {
      "default": "spin",
      "description": "Animation style: spin (rotating arc), dots (bouncing dots), pulse (pulsing dot), bars (oscillating bars), or ios (segmented circle)",
      "enum": [
        "spin",
        "dots",
        "pulse",
        "bars",
        "ios"
      ],
      "type": "string"
    },
    "size": {
      "default": "default",
      "description": "Indicator size variant",
      "enum": [
        "sm",
        "default",
        "lg"
      ],
      "type": "string"
    }
  },
  "required": [
    "type"
  ]
}
```
