Skip to content

Select

Last updated 6 Nov 2026

NbSelect is a custom dropdown that replaces the native <select>. It shares the same design language as NbTextInput: two variants (default / fluid), error/warning states, multi-select support, and full keyboard navigation.

vue
<template>
  <NbSelect
    v-model="locale"
    label="Locale"
    :options="[
      { label: 'English', value: 'en' },
      { label: 'Portuguese', value: 'pt' },
      { label: 'Spanish', value: 'es' },
    ]"
  />
</template>

Validation states ​

Disabled ​

Content ​

  • The label names the thing being chosen, not the action: Role, not Select a role.
  • Options are sentence-case nouns, sorted the way a reader scans them: by frequency for short lists, alphabetically for long ones. No trailing periods.
  • The placeholder for an empty select is optional. When used, it says what is missing (No role), never Please select....
  • The search box says Search, with no ellipsis. Override searchPlaceholder only to name what is searched (Search members).

Casing, punctuation and tone are set library-wide, not by this component: Writing style is the source.