Picker / Select
Tap to open a list of options — city, date, category: choose from what exists instead of typing.
文本输入框
The text input: a label above, the field below, hints and errors — the atom of every form.
文本输入框由标签、输入区、辅助文案三段构成:标签永远可见(别只用占位符当标签),出错时边框变色并在下方给出具体修改建议。带清除按钮、字数计数、密码可见切换都是常见配件。
一切需要用户打字的地方——它是表单出现频率最高的控件。
选项有限(<7)的输入别用文本框让人打字,用选择器或单选,出错率立刻降下来。
配套效果见下方「可用效果」。
Copy-paste component source built on Radix and Tailwind — you own the code, and AI tools know it best.
The most established Material component library for React.
An accessibility-first React component library with prop-based styling.