# Spinner Button 1 - Loading button

> Loading Button.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/spinner-spinner-button-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/spinner-spinner-button-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/spinner-spinner-button-1-light-9088c5e15de457aa.png
- Registry item: https://shadcnblocks.com/r/spinner-spinner-button-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/spinner-spinner-button-1.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: `button`, `spinner`

## Files

### `example/spinner/spinner-button-1.tsx`

```tsx
import { Button } from "@/components/ui/button";
import { Spinner } from "@/components/ui/spinner";

export const title = "Loading Button";

const Example = () => (
  <Button disabled>
    <Spinner />
    Loading...
  </Button>
);

export default Example;
```
