# Amro Toast

An accessible dismissible notification for success, information, warning, and error feedback.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/amro-toast.json
```

[Registry JSON](https://amro-ui.vercel.app/r/amro-toast.json)

## Preview

```tsx
import { AmroToast } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <AmroToast />
    </div>
  );
}
```


## Source

### ui/amro-toast.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { AmroToast } from "@/components/amro/components/shared";
export type { AmroToastProps } from "@/components/amro/components/shared";
```



## Usage

An accessible dismissible notification for success, information, warning, and error feedback.

### Package

```tsx
import { AmroToast } from "@amro-ui/react";

<AmroToast />
```

### shadcn copy

```tsx
import { AmroToast } from "@/components/ui/amro-toast";

<AmroToast />
```

