native-select

Invalid native select.

Loading preview…

src/native-select/c-native-select-6.vue

<script setup lang="ts">
import { NativeSelect, NativeSelectOption } from "@/components/ui/native-select"
</script>

<template>
  <NativeSelect aria-invalid="true" class="w-full max-w-xs">
    <NativeSelectOption value="">Invalid Select</NativeSelectOption>
    <NativeSelectOption value="1">Option 1</NativeSelectOption>
  </NativeSelect>
</template>

Install

npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-native-select-6.json

Registry dependencies

Source: ported from ReUI (Keenthemes, MIT)