# V spinner 3

> In buttons

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-spinner-3).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-spinner-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-spinner-3-light-11085b90c7071f05.png
- Registry item: https://ui.cnippet.dev/r/v-spinner-3.json
- Categories: spinner
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-spinner-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/spinner`

## Files

### `registry/default/variants/v-spinner-3.tsx`

```tsx
import { Button } from "@/registry/default/ui/button";
import { Spinner } from "@/registry/default/ui/spinner";
export function Pattern() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-4">
      <Button>
        <Spinner data-icon="inline-start" /> Processing…
      </Button>
      <Button disabled variant="outline">
        <Spinner data-icon="inline-start" /> Loading…
      </Button>
      <Button aria-label="Loading" disabled size="icon" variant="outline">
        <Spinner />
      </Button>
    </div>
  );
}
```
