Bouncy Loader
A clean loading screen with stacked boxes that rise and fall in sequence, giving a clear sense of ongoing activity while content or data is being loaded.
uiframer-motion
Installation
$npx futureuikit add boxy-bounce
Import
import { BoxyBounceLoader } from "@/components/ui/boxy-bounce-loader"
Layout Variant
Color Theme
Size
Shape
Named Keys & Props
Pass these exact named keys as props on <BoxyBounceLoader />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)variantVisual style"gradient""solid""outline"shapeCorner shape"default""square""rounded""sharp"sizeComponent size"sm""md""lg"Usage Example
A basic implementation example to get you started.
Example Implementation
import { BoxyBounceLoader } from"@/components/ui/boxy-bounce-loader";
export default function Example() {
return (
<div className="flex flex-col gap-8">
<BoxyBounceLoader variant="gradient" color="default" size="md"/>
<BoxyBounceLoader variant="solid" color="emerald" size="lg"/>
<BoxyBounceLoader variant="outline" color="amber" size="sm"/>
</div>
);
}Features
Key capabilities and highlights.
Key Capabilities
- ◆Uses multiple boxes moving up and down to show loading progress.
- ◆Supports 'gradient', 'solid', and 'outline' layout variants.
- ◆Offers 'sm', 'md', and 'lg' size modifiers.
- ◆Full 10-color palette support via the color prop.
- ◆Smooth animation keeps the interface feeling responsive.
- ◆Lightweight and easy to integrate into any layout.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run'npx futureuikit add boxy-bounce'.
- ◆Import:'import { BoxyBounceLoader } from "@/components/ui/boxy-bounce-loader";'
- ◆Variants: Pass'variant="gradient"' (default),'solid', or'outline'.
- ◆Size: Use the'size'prop ('sm','md','lg') to scale the component.
- ◆Color: Choose from 10 theme colors (default, blue, emerald, rose, amber, violet, indigo, sky, slate, orange).