# Blazor AppBar Overview

The <a href = "https://www.telerik.com/blazor-ui/appbar" target="_blank">Blazor AppBar component</a> helps you build navigation bars for your application seamlessly. This article explains how to start using the component and describes its features.

## Creating Blazor AppBar

1. Add the `<TelerikAppBar>` tag to a Razor file.
2. Use the `<AppBarSection>` child tag to add content to the AppBar component.
3. (optional) Use [spacers or separators](https://www.telerik.com/blazor-ui/documentation/components/appbar/overview#content-dividers) to add visual distinction between the sections in the AppBar.

> caption Basic configuration of the Telerik AppBar

<demo metaUrl="client/appbar/overview/" height="300"></demo>

## AppBar Sections

Use the AppBar Sections to render arbitrary HTML content to match the UI and UX needs of your application. [Read more about the Blazor AppBar sections...](https://www.telerik.com/blazor-ui/documentation/components/appbar/sections)

## Content Dividers

The AppBar features separators and spacers that can visually divide the component items. [Read more about the Blazor AppBar separators and spacers.](https://www.telerik.com/blazor-ui/documentation/components/appbar/separators).

## Positioning

You can control the position of the AppBar and how the component behaves according to the flow of the page. [Read more about the Blazor AppBar positioning.](https://www.telerik.com/blazor-ui/documentation/components/appbar/position).

## AppBar Parameters

The Blazor AppBar provides parameters to configure the component. Also check the [AppBar API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikappbar) for a full list of properties.

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter      | Type                               | Description                                                                                                                                                                                |
| -------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Position`     | `AppBarPosition` <br /> (`None`)   | The position of the AppBar on the page. [Read more about AppBar positioning.](https://www.telerik.com/blazor-ui/documentation/components/appbar/position)                                  |
| `PositionMode` | `AppBarPosition` <br /> (`Static`) | Sets how the AppBar is positioned according to the flow of the document. [Read more about AppBar positioning.](https://www.telerik.com/blazor-ui/documentation/components/appbar/position) |

### Styling and Appearance

The following parameters enable you to customize the appearance of the Blazor AppBar:

| Parameter    | Type                                              | Description                                                                                                                                                                                                                                       |
| ------------ | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Class`      | `string`                                          | The CSS class to be rendered on the main wrapping element of the AppBar component, which is `<div class="k-appbar">`. Use for [styling customizations](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/override-theme-styles). |
| `Height`     | `string`                                          | The height of the AppBar.                                                                                                                                                                                                                         |
| `ThemeColor` | `Telerik.Blazor.ThemeConstants.AppBar.ThemeColor` | Adjust the color of the AppBar                                                                                                                                                                                                                    |
| `Width`      | `string`                                          | The width of the AppBar.                                                                                                                                                                                                                          |

You can find more information for customizing the AppBar appearance in the [Appearance article](https://www.telerik.com/blazor-ui/documentation/components/appbar/appearance).

## AppBar Reference and Methods

To execute AppBar methods, obtain reference to the component instance with `@ref`.

| Method    | Description                                              |
| --------- | -------------------------------------------------------- |
| `Refresh` | Use the method to programmatically re-render the AppBar. |

```RAZOR.skip-repl
<TelerikAppBar @ref="AppBarRef" />

@code {
    private TelerikAppBar? AppBarRef;

    private void RefreshAppBar()
    {
        AppBarRef.Refresh();
    }
}
```

## Next Steps

* [Explore the AppBar Sections](https://www.telerik.com/blazor-ui/documentation/components/appbar/sections)
* [Use the AppBar Sections](https://www.telerik.com/blazor-ui/documentation/components/appbar/separators)
* [Customize the AppBar position](https://www.telerik.com/blazor-ui/documentation/components/appbar/position)

## See Also

* [Live AppBar Demos](https://demos.telerik.com/blazor-ui/appbar/overview)
* [AppBar API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikappbar)
