# Cloud Stack Loader

Stacked circles loading spinner: a vertical column of three paper circles that take their color in turn from top to bottom while the others rest in gray. Height sets the size; reduced motion fades instead of scaling.

Component · Loader · https://01orbital.dev/docs/components/cloud-stack-loader

## Installation

```bash
npx shadcn@latest add @01orbital/cloud-stack-loader
```

## Usage

```tsx
import { CloudStackLoader } from "@/components/loader/cloud-stack-loader"

export default function CloudStackLoaderDemo() {
  return (
    <>
      <CloudStackLoader size={128} />
    </>
  )
}
```

This example installs with everything it uses:

```bash
npx shadcn@latest add @01orbital/cloud-stack-loader-demo
```

## API reference

A column of paper circles for a loading state. Each takes its tint in turn, top to bottom, while the others rest gray and slightly smaller.

Exposes `role="status"` with the label "Loading"; pass `aria-label` to change it. With reduced motion the circles pulse in opacity instead.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size?` | `number` | `64` | Box height in px. Everything inside scales with it. |
| `palettes?` | `CloudPalette[]` |  | One tint per circle, top to bottom; the list length sets the count. |

## Dependencies

npm: `cn`

## Examples

- **Cloud Stack Loader Source Reading** (`@01orbital/cloud-stack-loader-source-reading`): Status panel example showing the CloudStackLoader: a story-editor panel with a loader beside a note on what is being read and a list of source files.
- **Cloud Stack Loader Build Status** (`@01orbital/cloud-stack-loader-build-status`): Build status panel example showing the CloudStackLoader: a terminal-style panel with a small loader, a command line and a numbered step log.
- **Cloud Stack Loader Field Notes** (`@01orbital/cloud-stack-loader-field-notes`): Processing receipt example showing the CloudStackLoader: four paper lights beside a sage document-processing receipt.
