arc
loading-ui/arcFreeComponent
@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/arc.jsonSource
1import { cn } from "@/lib/utils";23function Arc({ className, style, ...props }: React.ComponentProps<"div">) {4 return (5 <>6 <style>{`7 @keyframes loading-ui-arc-spin {8 to {9 transform: rotate(360deg);10 }11 }12 `}</style>13 <div14 className={cn(15 "rounded-full border-[5px] border-current/10 border-t-current",16 className,17 )}18 style={{19 animationName: "loading-ui-arc-spin",20 animationDuration: "var(--duration, 1s)",21 animationTimingFunction: "linear",22 animationIterationCount: "infinite",23 ...style,24 }}25 {...props}26 />27 </>28 );29}3031export { Arc };
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 | |
| 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 | |
| comet-spinnercomet-spinner | @loading-ui | Components | Free | no deps |
