---
type: doc
title: Header
description: Native Liquid header with readable CSS and shared data-slot parts.
---

> Native Liquid and CSS. Install from `https://ui.full.dev/r/liquid/{name}.json`; see [layout setup](/liquid/docs/installation.md). No Tailwind or consuming build.

```liquid title="liquid/examples/header.liquid"
<header data-slot='header'>
  <div data-slot='header-container'>
    <a data-slot='logo' href='{{ routes.root_url }}'>Your store</a>
    <nav aria-label='Main navigation'>
      <a data-slot='button' data-variant='ghost' href='{{ routes.all_products_collection_url }}'>Shop</a>
    </nav>
  </div>
</header>
```

## Installation

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/header.json https://ui.full.dev/r/liquid/button.json https://ui.full.dev/r/liquid/logo.json
```

Follow the [one-time layout setup](/liquid/docs/installation/). A full `components` install already includes this item.

## Usage

After this install, render these once in the layout head before theme overrides and other modules. The full `ui` hook already includes them. The command also installs the parts used in this example.

```liquid
{% render 'ui-init' %}
{% render 'ui-section' %}
{% render 'ui-header' %}
{% render 'ui-button' %}
{% render 'ui-logo' %}
```

The preview and its Usage tab render the same native Liquid source. Use `data-slot` for parts, `data-variant` for variants and `data-size` for sizes. Keep your store's labels, translations and Shopify data in your theme.

## Parts

`header`, `header-group`.

[Component source](https://github.com/fulldotdev/ui/tree/main/liquid/components/header.liquid) · [Theming](/liquid/docs/theming/)

## Variants

`floating`.

## Install what this page shows

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/header.json https://ui.full.dev/r/liquid/button.json https://ui.full.dev/r/liquid/logo.json
```
