# Button Standard 2 - Default button with left icon

> Default button with leading icon.

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

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

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/button-button-standard-2.json
```

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

## Dependencies

- npm packages: `lucide-react`
- Registry items: `button`

## Files

### `example/button/button-standard-2.tsx`

```tsx
import { Mail } from "lucide-react";

import { Button } from "@/components/ui/button";

export const title = "Default with left icon";

const Example = () => (
  <Button className="gap-2">
    <Mail className="size-4" />
    Button
  </Button>
);

export default Example;
```
