BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/@loading-ui/bobbing-dots

bobbing-dots

loading-ui/bobbing-dots
FreeComponent

@loading-ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by @loading-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://loading-ui.com/r/bobbing-dots.json

Source

registry/components/loading-ui/bobbing-dots.tsxloading-ui.com/r/bobbing-dots.json
1"use client";
2
3import { motion } from "motion/react";
4import { cn } from "@/lib/utils";
5
6function BobbingDots({
7 className,
8 dots = 3,
9 duration = 1,
10 ...props
11}: React.ComponentProps<"span"> & { dots?: number; duration?: number }) {
12 const transition = (index: number) => ({
13 duration,
14 repeat: Infinity,
15 repeatType: "loop" as const,
16 delay: index * 0.2,
17 ease: "easeInOut" as const,
18 });
19
20 return (
21 <span
22 role="status"
23 className={cn("inline-flex items-center gap-[12%]", className)}
24 {...props}
25 >
26 {Array.from({ length: dots }, (_, index) => (
27 <motion.span
28 key={index}
29 aria-hidden="true"
30 initial={{ y: 0 }}
31 animate={{ y: [0, "0.625em", 0] }}
32 transition={transition(index)}
33 className="inline-block aspect-square grow rounded-full bg-current shadow-sm"
34 />
35 ))}
36 <span className="sr-only">Loading</span>
37 </span>
38 );
39}
40
41export { BobbingDots };

What it pulls in

npm packages

  • motion

Files it writes

  • registry/components/loading-ui/bobbing-dots.tsx

Facts

Registry
@loading-ui
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-04
Last confirmed
today

Go to the source

Docs on @loading-ui loading-ui.com turbostarter/loading-ui on GitHub Raw registry item This item as JSON

More from @loading-ui

All 50 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordion-loaderaccordion-loader@loading-uiComponentsFreeno deps
analyzing-imageanalyzing-image@loading-uiComponentsFree1 dep
arcarc@loading-uiComponentsFreeno deps
barsbars@loading-uiComponentsFreeno deps
bouncing-dotsbouncing-dots@loading-uiComponentsFreeno deps
classicclassic@loading-uiComponentsFreeno deps
clock-ringclock-ring@loading-uiComponentsFreeno deps
comet-spinnercomet-spinner@loading-uiComponentsFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex