# Appearance Settings

The Notification component provides parameters and properties that allows you to customize its appearance. For brevity, this article will be divided in the following sections:

* [AnimationType](https://www.telerik.com/blazor-ui/documentation/components/notification/appearance#animationtype)
* [Size](https://www.telerik.com/blazor-ui/documentation/components/notification/appearance#size)
* [ThemeColor](https://www.telerik.com/blazor-ui/documentation/components/notification/appearance#themecolor)
* [Z-Index](https://www.telerik.com/blazor-ui/documentation/components/notification/appearance#z-index)
* [Icon Variant](https://www.telerik.com/blazor-ui/documentation/components/notification/appearance#icon-variant)

You can use all three together to get the desired appearance. This article will explain their effect one by one.

## AnimationType

The `AnimationType` parameter controls the way the Notification will appear on the screen. It takes a member of the `Telerik.Blazor.AnimationType` enum:

* `Fade` - the default animation
* `None`
* `PushUp`
* `PushDown`
* `PushLeft`
* `PushRight`
* `RevealVertical`
* `SlideIn`
* `SlideDown`
* `SlideLeft`
* `SlideRight`
* `ZoomIn`
* `ZoomOut`

You can see them in action in the [Notification Animation](https://demos.telerik.com/blazor-ui/notification/animation) Live Demo.

<demo metaUrl="client/notification/appearance/animation-type/"></demo>

## Size

You can control the Size of the Notification by using CSS. To make the cascading of the styles easier and target a single instance of the component you should use the `Class` parameter exposed in the `<TelerikNotification>` tag.

> caption Change the Notification width and height

<demo metaUrl="client/notification/appearance/size/" height="500"></demo>

## ThemeColor

The color of the notification popup is easily controlled through the `ThemeColor` parameter. You can set it to a member of the `Telerik.Blazor.ThemeColor` class:

* `Primary`
* `Secondary`
* `Tertiary`
* `Success`
* `Info`
* `Warning`
* `Error`
* `Inverse`

These predefined options match the main [Telerik Theme](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/overview) and you can see that in action in the [Notification Appearance](https://demos.telerik.com/blazor-ui/notification/appearance) Live Demo.

There are built-in themes for the most common notifications such as Success, Info, Warning, Error, that also come with predefined icons, so you don't have to set them explicitly.

<demo metaUrl="client/notification/appearance/theme-color/" height="420"></demo>

The `ThemeColor` parameter renders as the `k-notification-<ThemeColor>` CSS class on the specific notification HTML element and you can set it to a custom value to cascade through, and set the color to a setting of your own without customizing the entire theme.

> caption Custom Notification color without customizing the Telerik Theme

<demo metaUrl="client/notification/appearance/custom-color/" height="300"></demo>

## Z-Index

By default, the notification does not have a z-index and it shows above most elements because it has `position: fixed` in its CSS rules.

In some layouts you may have elements with a certain z-index and they will hide the notification.

You can use the `Class` of the notification to set a higher z-index for the notification according to your layout so it can show according to the desired stacking order - above some elements, perhaps behind others.

> caption Set z-index to the notification so it is not shown behind other elements

<demo metaUrl="client/notification/appearance/z-index/" height="500"></demo>

## ThemeBuilder

To take full control over the appearance of the Telerik UI for Blazor components, you can create your own styles by using [ThemeBuilder](https://docs.telerik.com/themebuilder).

ThemeBuilder is a web application that enables you to create new themes and customize existing ones. Every change that you make is visualized almost instantly. Once you are done styling the UI components, you can export a ZIP file with the styles for your theme and use them in your Blazor app.

## Icon Variant

When using SVG icons in the `NotificationModel`, set the `IconVariant` property to select an available icon variant. See [SVG icon variants](https://www.telerik.com/blazor-ui/documentation/common-features/icons#use-svg-icon-variants).

## See Also

* [Live Demo: Notification Overview](https://demos.telerik.com/blazor-ui/notification/overview)
* [Live Demo: Notification Appearance](https://demos.telerik.com/blazor-ui/notification/appearance)
* [Live Demo: Notification Animation](https://demos.telerik.com/blazor-ui/notification/animation)
