formstexulinot agent-emittableapp
Select.Viewport
select-viewport
Scrollable viewport inside Select.Content.
Live examples
Viewport
Viewport
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
class | string | no | — | — |
children | slot | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- Keeps option focus management inside the listbox.
Evidence for select-viewport
Latest committed gates for select-viewport (as of 2026-10-23). Static snapshot — not live CI.
Behavior
checkedscenario select
Rows in tests/behavior/scenarios/select.spec.ts, held to the WAI-ARIA APG pattern, run on Chromium, WebKit and the Pixel 7.
Size (gzip)
texuli/select-viewport · budget 12.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Long option lists that need an internal scroll region
Don’t use when
Prefer another component
- Short lists that fit without scrolling