# Loading
> Loading spinners and animation indicators
Source: https://shellui.dev/docs/v0.3/components/data-display/loading
The Loading component provides multiple animated indicators to communicate that content is being loaded or an operation is in progress. Choose from nine built-in variants: `spinner`, `dots`, `pulse`, `ring`, `bars`, `bars-vertical`, `bars-pulse`, `grid` and `orbit`.
## Installation
```bash
shellui add loading
```
## Basic Usage
```razor
```
## Variants
### Spinner (Default)
A classic rotating spinner:
```razor
```
### Dots
Three pulsing dots:
```razor
```
### Pulse
A pulsing circle:
```razor
```
### Ring
An animated ring:
```razor
```
### Bars
Animated vertical bars:
```razor
```
### Grid
A pulsing grid pattern:
```razor
```
### Orbit
An orbiting animation:
```razor
```
## Sizes
Control the loading indicator size:
```razor
```
## Full Page Loading
Overlay a loading indicator over the full viewport:
```razor
@if (isLoading)
{
}
```
## Inline Loading
Use loading indicators inline with content:
```razor
@code {
private bool isSaving = false;
}
```
## Skeleton vs Loading
Use `Skeleton` for content placeholders and `Loading` for active operations:
```razor
@* Content placeholder *@
@* Active operation *@
```
## API Reference
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| `Variant` | `string` | `"spinner"` | Animation style: `spinner`, `dots`, `pulse`, `ring`, `bars`, `grid`, `orbit` |
| `Size` | `string` | `"md"` | Indicator size: `sm`, `md`, `lg` |
| `Class` | `string?` | `null` | Additional CSS classes |
## Accessibility
The Loading component includes:
- `role="status"` for screen reader announcements
- `aria-label="Loading"` by default
- Respects `prefers-reduced-motion` (falls back to static indicator)
- Hidden from screen readers when not visible