Native Select
Native Basic
A native select with a label and a custom arrow: the shell is ours, the drop-down list is drawn by the operating system.
What you can change
- the field name through label, the explanation through hint and the choices through options
- the focus color through accent
- the field height and rounding through the palette variables
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/nativeselect-001?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, palette in the local --vibeui-nativeselect-001-* variables. Server component: the only hook is useId. appearance:none removes the platform's own arrow, and a custom one is drawn instead from two borders of a square; the arrow is marked pointer-events:none, so the whole area of the field stays a target for the select itself. The right padding of the field is measured for the arrow: without it a long option slides underneath. The arrow lights up on focus through :has(select:focus-visible) on the wrapper. The list stays a system one — on a phone that is the familiar wheel, which does not break when the page is zoomed and needs no line of JS.
Tags
- select
- native
- form
- mobile
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…