> Markdown version of [Styling](https://vaadin.com/docs/v24/components/app-layout/styling). Section index: [llms.txt](https://vaadin.com/docs/v24/components/llms.txt)

# Styling

## <a id="style-properties"></a>Style Properties

The following style properties can be used in CSS stylesheets to customize the appearance of this component.

To apply values to these properties globally in your application UI, place them in a CSS block using the `html {…​}` selector. See [Lumo Style Properties](https://vaadin.com/docs/v24/styling/lumo/lumo-style-properties.md) for more information on style properties.

| Feature      | Property                           | Default Value |
| ------------ | ---------------------------------- | ------------- |
| Drawer width | `--vaadin-app-layout-drawer-width` | `16em`        |

## <a id="css-selectors"></a>CSS Selectors

The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the [Styling documentation](https://vaadin.com/docs/v24/styling.md) for more details on how to style components.

- Root element

  `vaadin-app-layout`

### <a id="parts"></a>Parts

- Navbar

  `vaadin-app-layout::part(navbar)`

- Bottom "touch optimized" navbar

  `vaadin-app-layout::part(navbar bottom)`

- Drawer

  `vaadin-app-layout::part(drawer)`

- Drawer toggle

  `vaadin-drawer-toggle`

- Drawer toggle icon wrapper

  `vaadin-drawer-toggle::part(icon)`

- Drawer toggle icon

  `vaadin-drawer-toggle::part(icon)::before`

### <a id="states"></a>States

- Navbar on top of drawer

  `vaadin-app-layout[primary-section="navbar"]`

- Navbar next to drawer

  `vaadin-app-layout[primary-section="drawer"]`

- Drawer opened

  `vaadin-app-layout[drawer-opened]`

- Overlay drawer (small screen) mode

  `vaadin-app-layout[overlay]`
