# Alert

Alert renders the alert part of the alert composition.

## Public import

```svelte
<script lang="ts">
  import { Alert } from "rom-ui/primitives/alert";
  import "rom-studio/styles";
</script>
```

## Composition and responsibility

Use this part with exports from the same primitive family. Interactive roots own shared interaction state. Content parts render the corresponding region.

Public names: `Root`, `Alert`.

## Source and version

ROM UI **0.1.0-alpha.7**. [Component source](https://github.com/pmikstacki/rom-ui/blob/v0.1.0-alpha.7/src/lib/components/ui/alert/alert.svelte).

See [the composition guide](/docs/studio-compositions/) for host integration boundaries.
