# ArdoBanner

Source: https://ardo-docs.dev/v6/es/api-reference/components/ardobanner

A notice at the top of a page, such as a release or a maintenance window. Use it in MDX for
formatted content and links. The banner is static and needs no JavaScript.

```tsx
import { ArdoBanner } from "ardo/ui"

<ArdoBanner>{children}</ArdoBanner>
```

## Props

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` variant ` | [` ArdoBannerVariant `](<https://ardo-docs.dev/v6/es/api-reference/types/ardobannervariant/>) | No | Color of the banner, matching the callout of the same name. Defaults to `"info"`. |
| ` children ` | ` ReactNode ` | Yes | Banner content, such as a sentence with a link. |
| ` className ` | ` string ` | No | Additional CSS class. |

Props type: ` ArdoBannerProps `

## Example

```mdx
<Banner variant="warning">Scheduled maintenance on Saturday from 08:00 to 10:00 UTC.</Banner>
```
