উপাদান · Components
বাছাই
চেকবক্স, রেডিও আর সুইচ, সব নিজের হাতে বানানো। টিক চিহ্ন আঁকা হয়ে আসে, রেডিওর বিন্দু লাফিয়ে বসে, সুইচের বোতাম টানলে চ্যাপ্টা হয়।
চেকবক্স
For picking several things. The parent box shows a dash when only some are picked.
রেডিও
For one choice from a short list. Arrow keys move between options; the group is a single tab stop.
সুইচ
For settings that apply right away. If a change needs a Save button, use a checkbox instead.
দিন আর রাত
A special switch for the theme: the thumb is a sun by day and a moon by night, with clouds and stars in the track.
নিয়ম
করুন
- Make the whole row clickable, not just the box
- Use a radio group for up to 5 options, a dropdown beyond that
- Say what “on” means in the switch label
করবেন না
- Use a switch inside a form that has a Save button
- Use checkboxes for options that exclude each other
- Show native browser checkboxes