Spinner
Spinner supplies icon variants for a waiting state.
Practical React example
Mark one pending region with a clear loading label.
Before you copy and paste
Use the composed primitives together under their required provider, where one is present. Copy components/kibo-ui/spinner/index.tsx and its returned support files from the Code tab; preserve the project-relative paths. Install the listed primitives: pnpm dlx shadcn@latest add spinner.
Listed package dependencies: lucide-react.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Mark one pending region with a clear loading label
// Usage adapted from Kibo UI's pinned MIT source.
// Copyright (c) 2023 — Present shadcnblocks. See ./LICENSES.md.
"use client";
import { Spinner } from "@/components/kibo-ui/spinner";
const Example = () => <Spinner />;
export default Example;
Usage example adapted from Kibo UI's pinned MIT source. Retain the source licence notices when copying.
Use the spinner only while real work is pending and keep an accessible status label in the surrounding region when the icon alone has no useful name.
Customization
- SpinnerProps.variant
- Optional; | "default" | "throbber" | "pinwheel" | "circle-filled" | "ellipsis" | "ring" | "bars" | "infinite".
Integration notes
- An animation is not a completion percentage or a promise about duration.
- Replace it with explicit error or empty content when the request ends unsuccessfully.
Component source: Kibo UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.