GitHub

Loading

PreviousNext

Small inline spinner. Raw Arco passthrough — distinct from the full-screen route loader.

Loading is the kit's re-export of @arco-design/mobile-react's Loading — a small inline spinner for transient states like "submitting", "fetching", or progress inside a button / row.

For full-screen route loaders (e.g. while a page's primary data is fetching) use LayoutLoading instead — it owns the whole content area, sets aria-busy, and pairs with Layout's screenState.isLoading.

API

Accepts every Arco LoadingProps prop verbatim. See the Arco Mobile React Loading docs for the full API.

import { Loading } from "@appboxo/ui-kit"

Common props: radius (spinner size), color, className.

Installation

pnpm add @appboxo/ui-kit