Dasar UI Library

Select

A customizable dropdown selection component supporting single and multiple values, inline searching, and rich custom templates.
Basic Usage
Select your country

Bound Value: ()=>jg(t)

Appearance & Sizes
Select item
Select item
Select item
Select item
Select item
Searchable List
Type to filter...
Multiple Selection Modes
Bob Smith
Validation & States
Select item
Please select a valid option.
Select item
Field locked.
Select item
Fetching data...
Custom Templates & Slots
Select item
Status Filter
Clear All
Filter by status

API Reference

Property
Type
Default
Description
valueany | any[] '' | [] The selected value(s). Supports [(ngModel)] and Reactive Forms.
optionsDasarSelectOption[] [] Array of objects: { label, value, disabled?, iconName?, chipVariant? }.
multiple-type'text' | 'chip' | null null Enables multi-select. Displays chosen items as comma-separated text or interactive chips.
searchableboolean false Shows an inline text input to filter the options array.
clearableboolean false Shows an "x" icon to clear the selection.
appearance'outline' | 'filled' 'outline' Visual style of the main trigger container.
size'sm' | 'md' | 'lg' 'md' Sizing scale for the trigger and options.
radiusScaleAttributeType 'md' Border radius.
label / placeholder / hintstring undefined Text elements for context.
loadingboolean false Shows a spinner inside the trigger and dropdown.
errorboolean false Applies red validation styling.
disabledboolean false Prevents interaction.
full-widthboolean false Expands component to 100% width.
(valueChange) / (searchChange)EventEmitter - Emitted when selection or search query updates.
[...-slot]Content Slot - Directives like [prefix-slot], [option-empty-slot], [option-loading-slot].
*option-template / *chip-templateTemplateRef<any> - Structural directives to override rendering of options and chips.