MNEE
v0.0.1

Components

SelectList

Stable

Scrollable options list with token icons, title, and subtitle per row. Selected item shows a checkmark. Pairs with DropdownToken but works independently. Rounded 2xl container with secondary background and shadow.

Interactive

Usage

import { SelectList } from "@mnee-ui/ui"<SelectList  options={tokenOptions}  selectedId={selectedToken}  onSelect={(opt) => setSelectedToken(opt.id)}  maxHeight="300px"/>

Props

PropTypeDefaultDescription
optionsSelectOption[]—Array of { id, icon?, title, subtitle? }
selectedIdstring—Currently selected option ID (shows checkmark)
onSelect(option: SelectOption) => void—Callback when an option is clicked
maxHeightstring"400px"Max height before scrolling
classNamestring—Additional container classes