Listbox

A list of options shown inline — one value or several, with checkboxes, search, groups and long virtual lists.

Features12APIThemingAccessibility

Basic

One value from an inline list. Focus it with Tab and move with the arrows.

Kyiv
Lviv
Odesa
Kharkiv
Dnipro
Value: lviv

Multiple

multiple keeps several values; Shift + arrows add while moving, Ctrl / ⌘ + A selects all.

Kyiv
Lviv
Odesa
Kharkiv
Dnipro
Value: kyiv,odesa

Checkbox

checkbox shows a checkbox on each option.

Kyiv
Lviv
Odesa
Kharkiv
Dnipro
Value: lviv

Meta key

With metaKeySelection a plain click replaces the selection, Ctrl / ⌘ + click adds to it — like a file list.

Kyiv
Lviv
Odesa
Kharkiv
Dnipro
Value:

Filter

A search field above the list; keys from the field move through the options.

Kyiv
Lviv
Odesa
Kharkiv
Dnipro
Value: lviv

Groups

Options in named groups.

Regular
Medium
Bold
Regular
Italic
Regular

Template

Own option markup with txSelectOption; disabled options are skipped.

report.pdf1.2 MB
budget.xlsx84 KB
photo.png3.4 MB
archive.zip120 MB

Virtual scroll

Thousands of options rendered virtually, with search.

Field

Inside tx-field the label names the list and the hint and the error describe it.

Monday
Tuesday
Wednesday
Thursday
Friday
Pick at least one day

States

Invalid, disabled and read-only.

Free
Team
Business
Free
Team
Business
Free
Team
Business

Design tokens

dt changes the listbox tokens of one list.

Small
Medium
Large

Pass through

Your classes and styles on inner parts.

Small
Medium
Large