Preview Code
Astro React Vue Svelte
import { Spinner } from "@/components/starwind/spinner" ;
import { Spinner } from "@/components/starwind/spinner" ;
export function Example () {
import { Spinner } from "@/components/starwind/spinner" ;
import { Spinner } from "@/components/starwind/spinner" ;
< div class = "flex items-center justify-center p-8" >
Astro React Vue Svelte
pnpm npm yarn
pnpx starwind@latest add spinner --framework astro
npx starwind@latest add spinner --framework astro
yarn dlx starwind@latest add spinner --framework astro
pnpm npm yarn
pnpx starwind@latest add spinner --framework react
npx starwind@latest add spinner --framework react
yarn dlx starwind@latest add spinner --framework react
pnpm npm yarn
pnpx starwind@latest add spinner --framework vue
npx starwind@latest add spinner --framework vue
yarn dlx starwind@latest add spinner --framework vue
pnpm npm yarn
pnpx starwind@latest add spinner --framework svelte
npx starwind@latest add spinner --framework svelte
yarn dlx starwind@latest add spinner --framework svelte
Astro React Vue Svelte
import { Spinner } from "@/components/starwind/spinner" ;
import { Spinner } from "@/components/starwind/spinner" ;
export function Example () {
import { Spinner } from "@/components/starwind/spinner" ;
import { Spinner } from "@/components/starwind/spinner" ;
Preview Code
Astro React Vue Svelte
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "size-4" />
< Spinner class = "size-6" />
< Spinner class = "size-8" />
< Spinner class = "size-12" />
import { Spinner } from "@/components/starwind/spinner" ;
export function Example () {
< Spinner className = "size-4" />
< Spinner className = "size-6" />
< Spinner className = "size-8" />
< Spinner className = "size-12" />
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "size-4" />
< Spinner class = "size-6" />
< Spinner class = "size-8" />
< Spinner class = "size-12" />
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "size-4" />
< Spinner class = "size-6" />
< Spinner class = "size-8" />
< Spinner class = "size-12" />
Preview Code
Astro React Vue Svelte
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "text-blue-500" />
< Spinner class = "text-green-500" />
< Spinner class = "text-red-500" />
< Spinner class = "text-purple-500" />
import { Spinner } from "@/components/starwind/spinner" ;
export function Example () {
< Spinner className = "text-blue-500" />
< Spinner className = "text-green-500" />
< Spinner className = "text-red-500" />
< Spinner className = "text-purple-500" />
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "text-blue-500" />
< Spinner class = "text-green-500" />
< Spinner class = "text-red-500" />
< Spinner class = "text-purple-500" />
import { Spinner } from "@/components/starwind/spinner" ;
< Spinner class = "text-blue-500" />
< Spinner class = "text-green-500" />
< Spinner class = "text-red-500" />
< Spinner class = "text-purple-500" />
Preview Code
Astro React Vue Svelte
import { Spinner } from "@/components/starwind/spinner" ;
import { Button } from "@/components/starwind/button" ;
< Button disabled aria-busy = "true" >
import { Spinner } from "@/components/starwind/spinner" ;
import { Button } from "@/components/starwind/button" ;
export function Example () {
< Button disabled aria-busy = "true" >
import { Spinner } from "@/components/starwind/spinner" ;
import { Button } from "@/components/starwind/button" ;
< Button disabled aria-busy = "true" >
import { Spinner } from "@/components/starwind/spinner" ;
import { Button } from "@/components/starwind/button" ;
< Button disabled aria-busy = "true" >
View version history v1.1.2 · 5 releases v1.1.2 Updated the Vue loading icon to match Astro and React. v1.1.1 Removed the conflicting SVG mode prop from the Astro and React public prop contracts so fresh Astro projects type-check cleanly. v1.1.0 Added contract-generated Astro and React implementations while preserving the component’s existing public API and styling. v1.0.2 Refactor tailwind variants functions into separate variants.ts file v1.0.0 Initial release with starwind v1.10.0 Layer Metadata Spinner is a styled-only component. It uses Starwind styling and markup without a Runtime primitive. Spinner is available for Astro, React, Vue, and Svelte.
styled-component Spinner Spinner is a styled-only component. It uses Starwind styling and markup without a Runtime primitive. Spinner is available for Astro, React, Vue, and Svelte. Styled component Behavior Foundation spinner styled-only Styled only /docs/components/spinner/ Root SpinnerVariants Feedback & Status feedback status loading astro react Astro available Available Astro available React React available Vue Vue available Svelte Svelte available svg attributes
Slider Switch