Rotating Loader

A modern box-style loading screen with four rotating blocks that creates a smooth and engaging visual while content is loading. Ideal for pages, sections, or actions where users need clear feedback that a process is in progress.

uiframer-motion

Installation

$npx futureuikit add boxy-rotate

Import

import { BoxyRotateLoader } from "@/components/ui/boxy-rotate-loader"
Color Theme

Named Keys & Props

Pass these exact named keys as props on <BoxyRotateLoader />. Click any color pill to copy the prop.

colorDefault is "default"(Black & White)

Usage Example

A basic implementation example to get you started.

Example Implementation
import { BoxyRotateLoader } from"@/components/ui/boxy-rotate-loader";

export default function Example() {
 return <BoxyRotateLoader />;
}

Features

Key capabilities and highlights.

Key Capabilities
  • ◆Shows four boxes rotating to indicate an active loading state.
  • ◆Gives users clear visual feedback that something is in progress.
  • ◆Works well for page loads, API calls, and background tasks.
  • ◆Lightweight and smooth animation for a modern UI feel.
  • ◆Easy to customize colors and size using CSS.
  • ◆Can be used as a full-screen loader or inside small sections.

Notes

Important implementation details to consider.

Implementation Details
  • ◆Install: Run'npx futureuikit add boxy-rotate'.
  • ◆Import:'import { BoxyRotateLoader } from "@/components/ui/boxy-rotate-loader";'
  • ◆Display: Render the component conditionally while your'loading'state is true.
  • ◆Placement: Center it within a container using'flex items-center justify-center'for the best effect.
  • ◆Customization: Edit the source file to change the box colors or size variables.