quarter-ring
loading-ui/quarter-ringFreeComponent
@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/quarter-ring.jsonSource
1import { cn } from "@/lib/utils";23function QuarterRing({ className, ...props }: React.ComponentProps<"span">) {4 return (5 <>6 <style>{`7 @keyframes loading-ui-quarter-ring-rotation {8 0% {9 transform: rotate(0deg);10 }1112 100% {13 transform: rotate(360deg);14 }15 }16 `}</style>17 <span18 role="status"19 className={cn(20 "inline-block rounded-full border-t-[3px] border-r-[3px] border-t-current border-r-transparent",21 className,22 )}23 style={{24 animation:25 "loading-ui-quarter-ring-rotation var(--duration, 1s) linear infinite",26 }}27 {...props}28 >29 <span className="sr-only">Loading</span>30 </span>31 </>32 );33}3435export { QuarterRing };
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 |
