> Markdown version of [NativeSelect](https://vaadin.com/docs/v7/framework/components/components-nativeselect). Section index: [llms.txt](https://vaadin.com/docs/v7/framework/llms.txt)

# <a id="components.nativeselect"></a>NativeSelect

[Image: Live Demo]

NativeSelect is a drop-down selection component implemented with the native selection input of web browsers, using the HTML \<select> element.

```java
// Create the selection component
NativeSelect select = new NativeSelect("Native Selection");

// Add some items
select.addItems("Mercury", "Venus", ...);
```

The setColumns() allows setting the width of the list as "columns", which is a measure that depends on the browser.

[Image: nativeselect basic]

The NativeSelect Component

Common selection component features are described in ["Selection Components"](https://vaadin.com/docs/v7/framework/components/components-selection.md#components.selection).

## <a id="css-style-rules"></a>CSS Style Rules

```css
.v-select {}
  .v-select-select {}
```

The component has a v-select overall style. The native select element has v-select-select style.
