# @cleartrip/ct-design-dotted-loader

> A loading indicator with animated dots.

Latest version **5.32.0** (published 2026-11-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install @cleartrip/ct-design-dotted-loader
pnpm add @cleartrip/ct-design-dotted-loader
yarn add @cleartrip/ct-design-dotted-loader
bun add @cleartrip/ct-design-dotted-loader
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.32.0 |
| Published | 2026-11-16 |
| First published | 2023-10-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 48.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kanishk Gupta |
| Maintainers | rahulct_com, supragya.chauhan, nareshkapse_ct, saranshdawra, ct_devops, sidhantrajan, hello_world_arya, ritesh.kumarjena, mohitjaincleartrip, ashwin.ct, ashokmpatel, amansaxena1, aakrishtmalik, prateek.oraon, ashwin-ui-ct, shashi-kumar |

## Links

- npm: https://www.npmjs.com/package/@cleartrip/ct-design-dotted-loader
- npm.io page: https://npm.io/package/@cleartrip/ct-design-dotted-loader

## Dependencies (4)

- [@emotion/css](https://npm.io/package/@emotion/css.md) 11.13.4
- [@cleartrip/ct-design-theme](https://npm.io/package/@cleartrip/ct-design-theme.md) 5.32.0
- [@cleartrip/ct-design-container](https://npm.io/package/@cleartrip/ct-design-container.md) 5.32.0
- [@cleartrip/ct-design-style-manager](https://npm.io/package/@cleartrip/ct-design-style-manager.md) 5.32.0

## Recent versions

- 5.32.0 (latest) — 2026-11-16
- 5.33.0-SNAPSHOT-hdp-revamp-v1.0 (SNAPSHOT-hdp-revamp-v1) — 2026-11-19
- 3.33.0-SNAPSHOT-vt-2.0 (SNAPSHOT-vt-2) — 2026-11-18
- 3.33.0-SNAPSHOT-vt-1.0 (SNAPSHOT-vt-1) — 2026-11-18
- 5.32.0-SNAPSHOT-bs-height-check-161120162106.0 (SNAPSHOT-bs-height-check-161120162106) — 2026-11-16
- 5.32.0-SNAPSHOT-bs-height-check-161120162007.0 (SNAPSHOT-bs-height-check-161120162007) — 2026-11-16
- 5.32.0-SNAPSHOT-5.32.0-SNAPSHOT-bs-height-check-161120161537.0 (SNAPSHOT-5.32.0-SNAPSHOT-bs-height-check-161120161537) — 2026-11-16
- 5.32.0-SNAPSHOT-bs-height-check-151120162243.0 (SNAPSHOT-bs-height-check-151120162243) — 2026-11-15
- 3.33.0-SNAPSHOT-hdp-revamp-v3.0 (SNAPSHOT-hdp-revamp-v3) — 2026-11-12
- 3.33.0-SNAPSHOT-hdp-revamp-v2.0 (SNAPSHOT-hdp-revamp-v2) — 2026-11-12
- 5.32.0-SNAPSHOT-biztrip-rn-sme-snapshot-11-11-26.0 (SNAPSHOT-biztrip-rn-sme-snapshot-11-11-26) — 2026-11-11
- 5.32.0-SNAPSHOT-native-main.2 (SNAPSHOT-native-main) — 2026-11-11
- 5.32.0-SNAPSHOT-fix-intersection-observer-v2.0 (SNAPSHOT-fix-intersection-observer-v2) — 2026-11-02
- 5.32.0-SNAPSHOT-fix-intersection-observer-v1.0 (SNAPSHOT-fix-intersection-observer-v1) — 2026-11-02
- 5.32.0-SNAPSHOT-srp-similar-hotels-v2.0 (SNAPSHOT-srp-similar-hotels-v2) — 2026-10-29
- … 1029 more at https://npm.io/package/@cleartrip/ct-design-dotted-loader/versions

## README

# DottedLoader

A loading indicator with animated dots.

---

## Installation

```bash
npm install @cleartrip/ct-design-dotted-loader
# or
pnpm add @cleartrip/ct-design-dotted-loader
```

### Peer dependencies

```bash
# Required for all targets
npm install react

# Web only
npm install react-dom

# React Native only
npm install react-native
```

---

## Usage

### Basic

```tsx
import { DottedLoader } from '@cleartrip/ct-design-dotted-loader';

function Example() {
  return (
    <DottedLoader>
      {/* Basic usage */}
    </DottedLoader>
  );
}
```

---

## Props

| Prop | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| `variant` | `LoaderVariant` | — | No | Size variant for the loader dots. Defaults to `'medium'`. |
| `styleConfig` | `IDottedLoaderStyleConfig` | — | No | `styleConfig` slots for fine-grained style overrides. |
| `css` | `CSSProperties` | — | No | existing overrides continue to win on web. |

---

## DottedLoaderSize

- `SMALL` — small
- `MEDIUM` — medium
- `LARGE` — large
---

## Accessibility

- The component follows accessibility best practices
- Ensure proper ARIA attributes are provided where needed
- Test with screen readers to ensure usability

---

## Migration

If migrating from a previous version:

```diff
- import { DottedLoader } from 'yagami/core/components';
+ import { DottedLoader } from '@cleartrip/ct-design-dotted-loader';
```

---
_Source: https://npm.io/package/@cleartrip/ct-design-dotted-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
