Skip to content

LoaderKitLoading indicators as data, rendered natively

One JSON spec, the same motion on Android, iOS, macOS, Windows and the web. Pick one of 50 built-in indicators or 50 progress designs, or describe your own.

Find an indicator, copy the code ​

Built-in indicators

50 loading indicators, with the same names and motion on every platform.

Browse all 50 indicators

Progress indicators

50 progress designs, with a value or indeterminate.

Browse all 50 designs

Search, tune, copy. Code for React, Vue, Svelte, HTML, Android, Compose, UIKit, SwiftUI, WinUI and React Native.

Built-in or progress?

  • No percentage, ever (waiting for a request, pull to refresh): use a built-in indicator. There are 50 styles to pick from.
  • The task has progress, even if it is unknown at first (a download, an upload, processing a file): use a progress indicator. Start it indeterminate with value null (nil in Swift), then set a value once you know it. It is the same component, so nothing else changes.

Install ​

sh
npm install @loader-kit/web
kotlin
dependencies {
    implementation("io.github.maitrungduc1410:loaderkit-core:<version>")
    // Jetpack Compose (includes loaderkit-core):
    implementation("io.github.maitrungduc1410:loaderkit-compose:<version>")
}
swift
.package(url: "https://github.com/maitrungduc1410/loader-kit.git", from: "<version>")
ruby
pod 'LoaderKit', :git => 'https://github.com/maitrungduc1410/loader-kit.git', :tag => '<version>'
sh
dotnet add package LoaderKit.WinUI
sh
npm install react-native-loader-kit

See Getting started for the first indicator on each platform.

One line per platform ​

tsx
<LoaderKit indicator="BallSpinFadeLoader" color="#7c3aed" />
html
<loader-kit indicator="BallSpinFadeLoader" color="#7c3aed"></loader-kit>
kotlin
LoaderKitIndicator("BallSpinFadeLoader", Modifier.size(48.dp), color = Color(0xFF7C3AED))
swift
LoaderKitIndicator("BallSpinFadeLoader").color(.purple)
xml
<lk:LoaderKitIndicator Indicator="BallSpinFadeLoader" Color="#7C3AED" />

Released under the MIT License.