pulse-dot
loading-ui/pulse-dotFreeComponent
@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/pulse-dot.jsonSource
1import { cn } from "@/lib/utils";23function PulseDot({ className, ...props }: React.ComponentProps<"span">) {4 return (5 <>6 <style>{`7 @keyframes loading-ui-pulse-dot {8 0%,9 100% {10 transform: scale(1);11 opacity: 0.8;12 }1314 50% {15 transform: scale(1.5);16 opacity: 1;17 }18 }19 `}</style>20 <span21 role="status"22 className={cn("inline-block rounded-full bg-current", className)}23 style={{24 animation:25 "loading-ui-pulse-dot var(--duration, 1.2s) ease-in-out infinite",26 }}27 {...props}28 >29 <span className="sr-only">Loading</span>30 </span>31 </>32 );33}3435export { PulseDot };
Files it writes
More from @loading-ui
All 50 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordion-loaderaccordion-loader | @loading-ui | Components | Free | no deps | |
| analyzing-imageanalyzing-image | @loading-ui | Components | Free | 1 dep | |
| arcarc | @loading-ui | Components | Free | no deps | |
| barsbars | @loading-ui | Components | Free | no deps | |
| bobbing-dotsbobbing-dots | @loading-ui | Components | Free | 1 dep | |
| bouncing-dotsbouncing-dots | @loading-ui | Components | Free | no deps | |
| classicclassic | @loading-ui | Components | Free | no deps | |
| clock-ringclock-ring | @loading-ui | Components | Free | no deps |
