Brand Select
<brand-select> wraps Shoelace's <sl-select>. Options
are provided as <sl-option> children. Attributes and events are
forwarded 1:1.
Basic
Sizes
Multiple + clearable
States
Usage
import { BrandSelect } from '@brandos/ui';
<brand-select label="Region" placeholder="Pick one">
<sl-option value="us">United States</sl-option>
<sl-option value="uk">United Kingdom</sl-option>
</brand-select>
// JS
const el = document.querySelector('brand-select');
el.addEventListener('sl-change', () => console.log(el.value));