---
type: doc
title: Combobox
description: Native Liquid combobox 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/combobox.liquid"
<div data-slot='combobox'>
  <label data-slot='field-label' for='sample-combobox'>Country</label>
  <input id='sample-combobox' data-slot='combobox-input' autocomplete='off'>
  <div data-slot='combobox-positioner'>
    <div data-slot='combobox-content' hidden>
      <div data-slot='combobox-list'>
        <div data-slot='combobox-item' data-value='nl'>Netherlands</div>
        <div data-slot='combobox-item' data-value='be'>Belgium</div>
        <div data-slot='combobox-empty' hidden>No countries</div>
      </div>
    </div>
  </div>
</div>
```

## Installation

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/combobox.json https://ui.full.dev/r/liquid/field.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-input' %}
{% render 'ui-popup' %}
{% render 'ui-runtime' %}
{% render 'ui-combobox' %}
{% render 'ui-field' %}
```

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

`combobox-content`, `combobox-empty`, `combobox-item`, `combobox-item-indicator`, `combobox-list`, `combobox-positioner`.

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

## Install what this page shows

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/combobox.json https://ui.full.dev/r/liquid/field.json
```
