On this page

Native select

Install, props and the parts Native select is built from.

Install

Run this in the app, after shadcn-vue init and the Beehexa theme (Button › Code):

npx shadcn-vue@latest add https://beehexa.design/r/native-select.json

Use

<script setup lang="ts">
import { ref } from 'vue'
import { Field, FieldLabel } from '@/components/ui/field'
import { NativeSelect, NativeSelectOption } from '@/components/ui/native-select'

const currency = ref('USD')
</script>

<template>
  <Field>
    <FieldLabel for="currency">Report currency</FieldLabel>
    <NativeSelect id="currency" v-model="currency" class="w-full">
      <NativeSelectOption value="USD">US dollar (USD)</NativeSelectOption>
      <NativeSelectOption value="EUR">Euro (EUR)</NativeSelectOption>
    </NativeSelect>
  </Field>
</template>

Props

Part Prop Values Notes
NativeSelect v-model / modelValue string, number, object, array The selected value. Emits update:modelValue
NativeSelect size default, sm 32 px or 24 px
NativeSelect class string Goes on the wrapper. Use it for width (w-full)
NativeSelectOption value, disabled Native <option> attributes
NativeSelectOptGroup label string Heading of the group

Other attributes on NativeSelect (id, name, disabled, multiple, aria-invalid, aria-describedby) go to the <select>, not the wrapper.

Built on

A native <select> with the shadcn-vue NativeSelect API (shadcn-vue registry, style reka-nova, read 12 November 2026). Beehexa replaces the colours, sizes and focus with the Input tokens and draws its own chevron (appearance: none).