Select
Select components in WeedorUI provide an intuitive way for users to choose from a list of options in forms or settings. These dropdown elements are versatile and ideal for situations where multiple choices are available, but only one selection is needed. Each Select component is fully customizable in terms of style, behavior, and layout, ensuring smooth integration into your interface.
select
<select name="country" id="country" class="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md"> <option value="" hidden> Select your country </option> <option value="Liberia">Liberia</option> <option value="usa">USA</option> <option value="uk">Rwanda</option> <option value="South Sudan">South Sudan</option></select>
<select name="country" id="country" className="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md"> <option value="" hidden> Select your country </option> <option value="Liberia">Liberia</option> <option value="usa">USA</option> <option value="uk">Rwanda</option> <option value="South Sudan">South Sudan</option></select>
select with Label
<label for="framework" class="text-base pb-2 block"> <span class="block pb-1">Select your framework</span> <select name="framework" id="framework" class="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Best JS framework </option> <option value="React">React</option> <option value="Angular">Angular</option> <option value="Vue">Vue</option> </select></label>
<label for="framework" className="text-base pb-2 block"> <span className="block pb-1">Select your framework</span> <select name="framework" id="framework" className="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Best JS framework </option> <option value="React">React</option> <option value="Angular">Angular</option> <option value="Vue">Vue</option> </select></label>
select with disabled option
<label for="framework" class="text-base pb-2 block"> <span class="block pb-1">Select your framework</span> <select name="framework" id="framework" class="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md" disabled > <option value="" hidden> Best JS framework </option> <option value="React">React</option> <option value="Angular">Angular</option> <option value="Vue">Vue</option> </select></label>
<label for="framework" className="text-base pb-2 block"> <span className="block pb-1">Select your framework</span> <select name="framework" id="framework" className="w-80 h-12 border border-slate-300 outline-none px-4 py-2 rounded-md" disabled > <option value="" hidden> Best JS framework </option> <option value="React">React</option> <option value="Angular">Angular</option> <option value="Vue">Vue</option> </select></label>
select with different sizes
{/* sm */}<select name="course" id="course" class="w-80 h-10 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>
{/* md */}<select name="course" id="course" class="w-80 h-12 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>
{/* lg */}<select name="course" id="course" class="w-80 h-16 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>
{/* sm */}<select name="course" id="course" className="w-80 h-10 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>
{/* md */}<select name="course" id="course" className="w-80 h-12 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>
{/* lg */}<select name="course" id="course" className="w-80 h-16 border border-blue-500 outline-none px-4 py-2 rounded-md" > <option value="" hidden> Select your course </option> <option value="JavaScript">JavaScript</option> <option value="Python">Python</option> <option value="Java">Java</option> </select>