AoE2CN Component

Select

An accessible Radix-backed menu with shadcn-compatible composition, keyboard navigation, grouped options, and portalled content.

pnpm dlx shadcn@latest add @aoe2cn/select

Values and sizes

Interaction states

Usage contract

Built to be edited in your project

Installation copies source, shared styles, local fonts, and required assets into your configured UI directory.

API notes

  • Current shadcn Select composition
  • Default and small trigger sizes
  • Radix portal, alignment, and positioning props

Covered states

  • Value and placeholder
  • Open, selected, highlighted, and disabled
  • Keyboard navigation, typeahead, and Escape

Customization

  • --aoe2cn-surface-*
  • --aoe2cn-crimson-*
  • --aoe2cn-gold-*
  • --aoe2cn-focus