Select
Select is a simple wrapper around the native <select>
HTML element, providing styling that integrates well with the Kuma UI ecosystem.
Import
import { Select } from "@kuma-ui/core";
Usage
const SelectExample = () => {
return (
<Select defaultValue="Option 1">
<option value="Option 1">Option 1</option>
<option value="Option 2">Option 2</option>
<option value="Option 3">Option 3</option>
</Select>
);
};
Props
Select accepts all the same props as a standard HTML select (opens in a new tab) element.