A versatile dropdown select component with support for single/multi selection, search filtering, server-side search, infinite scroll loading, and custom option/tag rendering.
Preview
Single Select
Multi Select
Props
Name
Type
Required
Description
modelValue
Array<string | number> | string | number | null
No
Selected value(s). Use v-model for two-way binding
options
SelectOption[]
Yes
Array of options with label, value, and optional disabled property
placeholder
string
No
Placeholder text when no option is selected
searchPlaceholder
string
No
Placeholder text for the search input inside dropdown
disabled
boolean
No
Disables the select component
clearable
boolean
No
Shows clear button to reset selection
singleSelect
boolean
No
Forces single selection mode
noResultsText
string
No
Text shown when search yields no results
dropdownMaxHeightClass
string
No
Custom CSS class for dropdown max height
isTransparent
boolean
No
Makes the select background transparent
searchOnServer
boolean
No
Enables server-side search mode
name
string
No
Form field name attribute
Events
Name
Payload
Description
@update:modelValue
string | number | (string | number)[] | null
Emitted when selection changes
@search
string
Emitted when user types in search input (for server-side search)
@load-more
void
Emitted when user scrolls to bottom (for infinite loading)
Slots
Name
Description
#tag
Custom template for selected tags in multi-select mode
#option
Custom template for dropdown options
02 DatePicker
A powerful date picker component built on top of vue-datepicker. Supports single date and date range selection, dark mode, teleportation for proper z-index handling, and programmatic control via exposed methods.
Preview
Single Date
Select date
Date Range
Select dates
Props
Name
Type
Default
Description
modelValue
Date | Date[]
—
Selected date or date range. Use v-model for two-way binding
teleport
boolean
true
Teleports the calendar popup to body element
inTable
boolean
false
Optimizes styles for usage inside tables
initDate
Function
—
Function to initialize the default date
isClerable
boolean
true
Shows clear button to reset the date
dark
boolean
false
Enables dark theme for the calendar
isRange
boolean
true
Enables date range selection mode
size
"default" | "large"
"default"
Size variant of the date picker input
name
string
—
Form field name attribute
Events
Name
Payload
Description
@update:modelValue
Date | Date[] | undefined
Emitted when date selection changes
@change
any
Emitted when date changes (alternative to v-model)
Exposed Methods
Method
Description
setDateRange
Method to programmatically set the date range: (dates: Date[] | Date | null) => void
clearDate
Method to clear the selected date: () => void
getCurrentValue
Method to get current value: () => Date | Date[] | undefined
03 CButton
A versatile button component with multiple visual variants, sizes, loading state, and full accessibility support.
interface Tab {
value: string; // Unique identifier
label: string; // Display text
exclude?: boolean; // Hide from overflow menu
}
12 Toasts
A powerful toast notification system with multiple variants, auto-dismiss, and progress bar support. Uses the useToasts composable for programmatic control.