MazChecklist
MazChecklist is a standalone component that allows creating a checklist with integrated search functionality. It provides a flexible and customizable user interface for selecting multiple items from a list of options. The component supports real-time search, color customization, and displays messages when no results are found.
Basic usage
Selected languages: none
query value: none
Afaraa
Afrikaansaf
Afrikaans (South Africa)af-ZA
Akanak
Albaniansq
Albanian (Albania)sq-AL
American Englishen-US
Amharicam
Arabicar
Arabic (Algeria)ar-DZ
Arabic (Bahrain)ar-BH
Arabic (Egypt)ar-EG
Arabic (Iraq)ar-IQ
Arabic (Jordan)ar-JO
Arabic (Kuwait)ar-KW
Arabic (Lebanon)ar-LB
Arabic (Libya)ar-LY
Arabic (Morocco)ar-MA
Arabic (Oman)ar-OM
Arabic (Qatar)ar-QA
Arabic (Saudi Arabia)ar-SA
Arabic (Syria)ar-SY
Arabic (Tunisia)ar-TN
Arabic (United Arab Emirates)ar-AE
Arabic (Yemen)ar-YE
Aragonesean
Armenianhy
Armenian (Armenia)hy-AM
Assameseas
Australian Englishen-AU
Austrian Germande-AT
Avaricav
Avestanae
Aymaraay
Azerbaijaniaz
Bambarabm
Banglabn
Bashkirba
Basqueeu
Basque (Spain)eu-ES
Belarusianbe
Belarusian (Belarus)be-BY
Bhojpuribh
Bislamabi
Bosnianbs
Brazilian Portuguesept-BR
Bretonbr
British Englishen-GB
Bulgarianbg
Bulgarian (Bulgaria)bg-BG
Burmesemy
Canadian Englishen-CA
Canadian Frenchfr-CA
Catalanca
Catalan (Spain)ca-ES
Chamorroch
Chechence
Chinesezh
Chinese (China)zh-CN
Chinese (Hong Kong SAR China)zh-HK
Chinese (Macao SAR China)zh-MO
Chinese (Singapore)zh-SG
Chinese (Taiwan)zh-TW
Church Slaviccu
Chuvashcv
Cornishkw
Corsicanco
Creecr
Croatianhr
Croatian (Croatia)hr-HR
Czechcs
Czech (Czechia)cs-CZ
Danishda
Danish (Denmark)da-DK
Divehidv
Divehi (Maldives)div-MV
Dutchnl
Dutch (Netherlands)nl-NL
Dzongkhadz
Englishen
English (Belize)en-BZ
English (CB)en-CB
English (Ireland)en-IE
English (Jamaica)en-JM
English (New Zealand)en-NZ
English (Philippines)en-PH
English (South Africa)en-ZA
English (Trinidad & Tobago)en-TT
English (Zimbabwe)en-ZW
Esperantoeo
Estonianet
Estonian (Estonia)et-EE
European Portuguesept-PT
European Spanishes-ES
Eweee
Faroesefo
Faroese (Faroe Islands)fo-FO
Fijianfj
Filipinotl
Finnishfi
Finnish (Finland)fi-FI
Flemishnl-BE
Frenchfr
French (Belgium)fr-BE
French (France)fr-FR
French (Luxembourg)fr-LU
French (Monaco)fr-MC
Fulaff
Galiciangl
Galician (Spain)gl-ES
Gandalg
Georgianka
Georgian (Georgia)ka-GE
Germande
German (Germany)de-DE
German (Liechtenstein)de-LI
German (Luxembourg)de-LU
Greekel
Greek (Greece)el-GR
Guaranign
Gujaratigu
Gujarati (India)gu-IN
Haitian Creoleht
Hausaha
Hebrewhe
Hebrew (Israel)he-IL
Hererohz
Hindihi
Hindi (India)hi-IN
Hiri Motuho
Hungarianhu
Hungarian (Hungary)hu-HU
Icelandicis
Icelandic (Iceland)is-IS
Idoio
Igboig
Indonesianid
Indonesian (Indonesia)id-ID
Interlinguaia
Interlingueie
Inuktitutiu
Inupiaqik
Irishga
Italianit
Italian (Italy)it-IT
Italian (Switzerland)it-CH
Japaneseja
Japanese (Japan)ja-JP
Javanesejv
Kalaallisutkl
Kannadakn
Kannada (India)kn-IN
Kanurikr
Kashmiriks
Kazakhkk
Kazakh (Kazakhstan)kk-KZ
Khmerkm
Kikuyuki
Kinyarwandarw
Komikv
Kongokg
Konkani (India)kok-IN
Koreanko
Korean (South Korea)ko-KR
Kuanyamakj
Kurdishku
Kyrgyzky
Kyrgyz (Kazakhstan)ky-KZ
Laolo
Latinla
Latvianlv
Latvian (Latvia)lv-LV
Limburgishli
Lingalaln
Lithuanianlt
Lithuanian (Lithuania)lt-LT
Luba-Katangalu
Luxembourgishlb
Macedonianmk
Macedonian (North Macedonia)mk-MK
Malagasymg
Malayms
Malay (Brunei)ms-BN
Malay (Malaysia)ms-MY
Malayalamml
Maltesemt
Manxgv
Māorimi
Marathimr
Marathi (India)mr-IN
Marshallesemh
Mexican Spanishes-MX
Mongolianmn
Mongolian (Mongolia)mn-MN
Nauruna
Navajonv
Ndongang
Nepaline
North Ndebelend
Northern Samise
Norwegianno
Norwegian Bokmålnb
Norwegian Bokmål (Norway)nb-NO
Norwegian Nynorsknn
Norwegian Nynorsk (Norway)nn-NO
Nyanjany
Occitanoc
Odiaor
Ojibwaoj
Oromoom
Osseticos
Palipi
Pashtops
Persianfa
Persian (Iran)fa-IR
Polishpl
Polish (Poland)pl-PL
Portuguesept
Punjabipa
Punjabi (India)pa-IN
Quechuaqu
Romanianro
Romanian (Romania)ro-RO
Romanshrm
Rundirn
Russianru
Russian (Russia)ru-RU
Samoansm
Sangosg
Sanskritsa
Sanskrit (India)sa-IN
Sardiniansc
Scottish Gaelicgd
Serbiansr
Serbian (Latin)SH
Shonasn
Sichuan Yiii
Sindhisd
Sinhalasi
Slovaksk
Slovak (Slovakia)sk-SK
Sloveniansl
Slovenian (Slovenia)sl-SI
Somaliso
South Ndebelenr
Southern Sothost
Spanishes
Spanish (Argentina)es-AR
Spanish (Bolivia)es-BO
Spanish (Chile)es-CL
Spanish (Colombia)es-CO
Spanish (Costa Rica)es-CR
Spanish (Dominican Republic)es-DO
Spanish (Ecuador)es-EC
Spanish (El Salvador)es-SV
Spanish (Guatemala)es-GT
Spanish (Honduras)es-HN
Spanish (Nicaragua)es-NI
Spanish (Panama)es-PA
Spanish (Paraguay)es-PY
Spanish (Peru)es-PE
Spanish (Puerto Rico)es-PR
Spanish (Uruguay)es-UY
Spanish (Venezuela)es-VE
Sundanesesu
Swahilisw
Swahili (Kenya)sw-KE
Swatiss
Swedishsv
Swedish (Finland)sv-FI
Swedish (Sweden)sv-SE
Swiss Frenchfr-CH
Swiss High Germande-CH
Syriac (Syria)syr-SY
Tahitianty
Tajiktg
Tamilta
Tamil (India)ta-IN
Tatartt
Tatar (Russia)tt-RU
Telugute
Telugu (India)te-IN
Thaith
Thai (Thailand)th-TH
Tibetanbo
Tigrinyati
Tonganto
Tsongats
Tswanatn
Turkishtr
Turkish (Türkiye)tr-TR
Turkmentk
Ukrainianuk
Ukrainian (Ukraine)uk-UA
Urduur
Urdu (Pakistan)ur-PK
Uyghurug
Uzbekuz
Vendave
Vietnamesevi
Vietnamese (Vietnam)vi-VN
Volapükvo
Walloonwa
Welshcy
Western Frisianfy
Wolofwo
Xhosaxh
Yiddishyi
Yorubayo
Zhuangza
Zuluzu
Custom search function
You can replace the default search function by providing a custom search function. Useful when you need to search by multiple fields, if you want to use a different search algorithm or if you want search into your database by fetching data from an API.
Selected employees: none
SJ
Sarah JohnsonEngineering
sarah.johnson@company.com4.9
MC
Michael ChenDesign
michael.chen@company.com4.7
ER
Emma RodriguezMarketing
emma.rodriguez@company.com4.8
DK
David KimEngineering
david.kim@company.com4.6
LT
Lisa ThompsonProduct
lisa.thompson@company.com4.9
JD
John DoeMarketing
john.doe@company.com4.9
JS
Jane SmithEngineering
jane.smith@company.com4.9
JB
Jim BeamSales
jim.beam@company.com4.9
JJ
Jill JohnsonMarketing
jill.johnson@company.com4.9
Props
Name | Description | Type | Required | Default |
---|---|---|---|---|
model-value | The model value of the checklist (selected items) | (T extends unknown)[] | No | undefined |
query | The query to filter the items (model) | string | No | undefined |
items | The list of items to display | (O extends MazChecklistItemOption)[] | No | undefined |
title | The title of the checklist | string | No | undefined |
elevation | Add elevation to the card | boolean | No | false |
search | The search input options | boolean | MazInputProps | No | { enabled: false, debounce: 300, autoFocus: false } |
search-options | The options to normalize the search query (used by the default search function) By default, the threshold is 0.75 | intersection | No | undefined |
search-function | Replace the default search function to provide a custom search function | TSFunctionType | No | undefined |
color | The color of the checklist (card, checkbox and search input) | MazColor | No | primary |
translations | Translations of the checklist component | DeepPartial<MazUiTranslationsNestedSchema['checklist']> | No | Translations from @maz-ui/translations |
Events
Event name | Properties | Description |
---|---|---|
update:query | value mixed - The new query | Emitted when the query change |
update:model-value | value mixed - The new value | Emitted when the model value change |
Slots
Name | Description | Bindings |
---|---|---|
title | use this slot to customize the title | |
no-results | use this slot to customize the no results area | |
no-results-text | use this slot to customize the no results message | |
item | use this slot to customize the item |