dash-ring
loading-ui/dash-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/dash-ring.jsonSource
1import { cn } from "@/lib/utils";23type DashRingProps = React.ComponentProps<"svg">;45function DashRing({ className, ...props }: DashRingProps) {6 return (7 <svg8 viewBox="0 0 24 24"9 fill="none"10 stroke="currentColor"11 xmlns="http://www.w3.org/2000/svg"12 role="status"13 className={cn(className)}14 {...props}15 >16 <circle17 cx="12"18 cy="12"19 r="9.5"20 opacity="0.1"21 strokeWidth="2"22 strokeLinecap="round"23 />24 <circle cx="12" cy="12" r="9.5" strokeWidth="2" strokeLinecap="round">25 <animateTransform26 attributeName="transform"27 type="rotate"28 from="0 12 12"29 to="360 12 12"30 dur="2s"31 repeatCount="indefinite"32 />33 <animate34 attributeName="stroke-dasharray"35 values="0 150;42 150;42 150"36 keyTimes="0;0.5;1"37 dur="1.5s"38 repeatCount="indefinite"39 />40 <animate41 attributeName="stroke-dashoffset"42 values="0;-16;-59"43 keyTimes="0;0.5;1"44 dur="1.5s"45 repeatCount="indefinite"46 />47 </circle>48 </svg>49 );50}5152export { DashRing };
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 |
