# Separator Basic 4 - Section divider

> Section Divider.

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

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/separator-separator-basic-4
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/separator-separator-basic-4-light-88fe6c61b8438d72.png
- Registry item: https://shadcnblocks.com/r/separator-separator-basic-4.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/separator-separator-basic-4.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: `separator`

## Files

### `example/separator/separator-basic-4.tsx`

```tsx
import { Separator } from "@/components/ui/separator";

export const title = "Section Divider";

const Example = () => (
  <div className="space-y-4">
    <div>
      <h3 className="text-lg font-semibold">Section 1</h3>
      <p className="text-sm text-muted-foreground">Content for section 1</p>
    </div>
    <Separator />
    <div>
      <h3 className="text-lg font-semibold">Section 2</h3>
      <p className="text-sm text-muted-foreground">Content for section 2</p>
    </div>
  </div>
);

export default Example;
```
