GitHub

Select Modal

Ionic-style select that opens a modal with radio or checkbox options. Combines the trigger (styled like a select) with a modal overlay containing option items. Reuses existing .modal, .radio, .checkbox, and .btn components.

Single Select (Radios)

Preview

Multiple Select (Checkboxes)

Preview

Options with Descriptions

Preview

Checkmark Style (no radio/checkbox widget)

Preview

With Search

Preview

Tags in Trigger (Multi-select)

Preview

Glass Variant

Preview

Sizes

Variants

Disabled Options

Preview

Reference

Trigger Classes

Class Description
.select-modalTrigger button styled like a select
.select-modal-valueDisplayed selected value text
.select-modal-placeholderPlaceholder when nothing selected
.select-modal-tagsContainer for multi-select chips
.select-modal-tagIndividual chip tag
.select-modal-tag-removeRemove button on tag
.select-modal-smSmall trigger size
.select-modal-lgLarge trigger size
.select-modal-filledFilled background variant
.select-modal-ghostTransparent variant
.select-modal-errorError state border
.select-modal-successSuccess state border
.select-modal.glassGlass morphism variant

Option Classes (inside modal-body)

Class Description
.select-modal-optionOption item row (use with label element)
.select-modal-option-selectedSelected state (tinted background)
.select-modal-option-disabledDisabled option
.select-modal-option-textWrapper for label + description
.select-modal-option-labelPrimary option text
.select-modal-option-descriptionSecondary description text
.select-modal-option-checkCheckmark icon (for check-only style)
.select-modal-searchSticky search input container

Reused Components

Component Usage
.modal-backdrop + .modalOverlay container
.modal-header / .modal-footerHeader with title, footer with buttons
.modal-body.p-0Edge-to-edge option list
.radio-input + .radio-circleSingle select radio buttons
.checkbox-input + .checkbox-boxMultiple select checkboxes
.btn / .btn-ghost / .color-primaryCancel/OK buttons
.modal.glassGlass modal variant