Loader

A sleek, lightweight loading indicator designed to elevate user experience by clearly signaling ongoing background activity with smooth, modern animations.

Example

Usage

Features

The <progress> HTML element can be used to build a progress bar, however it is very difficult to style cross browser. ProgressBar helps achieve accessible progress bars and spinners that can be styled as needed.

  • Accessible – Follows the ARIA progressbar pattern, supporting both determinate and indeterminate progress bars. A nested label is automatically associated with the progress bar semantically.
  • International – The value is formatted as a percentage or custom format according to the user's locale.

Installation

Install following dependencies:

npm install react-aria-components tw-animate-css tailwindcss-react-aria-components class-variance-authority lucide-react clsx tailwind-merge motion

Add cn helper using clsx and twMerge for conditional class merging in Tailwind components.

lib/utils.ts

Copy and paste the following code into your project.

components/ui/core/loader.tsx
npx libravelui@latest add loader

Anatomy

import { Loader } from "@/components/ui/core/loader";
<Loader tone="ring" />
<Loader tone="spin" />
<Loader tone="bars" />

Props

Loading types…

Accessible React component library to copy, customize, and own your UI. Built for Next.js, Vite, and Laravel.

Crafted by dervyon. Peep the Source Code on GitHub.

Hosted on Vercel. The source code's got the MIT license.

2025 - 2026 · LibravelUI

Starter Kits

Templates

    Coming Soon

Labs