Dev Design Library

Native select

The browser's own select, styled to match Input, with a quiet placeholder, Field support and the OS picker on every device.

Native select preview
Library
HextaUI
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0, @tabler/icons-react, cn
Install
npx shadcn@latest add https://hextaui.com/r/native-select.json
Files
  • components/ui/native-select.tsx
  • components/ui/input.tsx
  • hooks/use-composed-ref.ts
  • hooks/use-invalid-shake.ts
  • lib/motion.ts
  • hooks/use-autosize.ts
  • hooks/use-merged-ref.ts
  • components/ui/number-flow.tsx
Source
https://github.com/preetsuthar17/hextaui

Categories

More from HextaUI