-
-
-
-
-
-
-
Helen Walter
Admin
Select
ADMIN PANELSelect Default
You can use select as code show bellow
Select With Border
You can use select with border by adding .select-bordered
Select Primary
You can use select primary by adding .select-primary classes
Select secondary
You can use select secondary by adding .select-secondary classes
Select success
You can use select success by adding .select-success classes
Select warning
You can use select warning by adding .select-warning classes
Select info
You can use select info by adding .select-info classes
With Form-control and Labels
You can use select with form-control and labels as code show bellow
<div class="w-full max-w-xs form-control">
<label class="flex justify-between px-1 py-2 label">
<span class="label-text">Pick the best fantasy franchise</span>
<span class="label-text-alt">Alt label</span>
</label>
<select class="bg-white dark:bg-dark-dense select select-bordered">
<option disabled selected>Pick one</option>
<option>Star Wars</option>
<option>Harry Potter</option>
<option>Lord of the Rings</option>
<option>Planet of the Apes</option>
<option>Star Trek</option>
</select>
<label class="flex justify-between px-1 py-2 label">
<span class="label-text-alt">Alt label</span>
<span class="label-text-alt">Alt label</span>
</label>
</div>
Select With Different Size
You can use different size select by adding .select-(lg, md, sm, xs) classes
<!-- lg -->
<select class="w-full max-w-xs bg-white dark:bg-dark-dense select select-bordered select-lg">
<option disabled selected>Large</option>
<option>Large Apple</option>
<option>Large Orange</option>
<option>Large Tomato</option>
</select>
<!-- md -->
<select class="w-full max-w-xs bg-white dark:bg-dark-dense select select-bordered">
<option disabled selected>Normal</option>
<option>Normal Apple</option>
<option>Normal Orange</option>
<option>Normal Tomato</option>
</select>
<!-- sm -->
<select class="w-full max-w-xs bg-white dark:bg-dark-dense select select-bordered select-sm">
<option disabled selected>Small</option>
<option>Small Apple</option>
<option>Small Orange</option>
<option>Small Tomato</option>
</select>
<!-- xs -->
<select class="w-full max-w-xs bg-white dark:bg-dark-dense select select-bordered select-xs">
<option disabled selected>Tiny</option>
<option>Tiny Apple</option>
<option>Tiny Orange</option>
<option>Tiny Tomato</option>
</select>


