Skip to content

new: list-state primitive for Solid 2.0#898

Open
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:v2/list-state
Open

new: list-state primitive for Solid 2.0#898
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:v2/list-state

Conversation

@davedbase
Copy link
Copy Markdown
Member

new: list-state package** — Adds two keyboard-navigable list state primitives for Solid 2.0:

  • createListState — single-select list with arrow key, Home/End, Tab, and optional Vim navigation
  • createMultiSelectListState — multi-select list with cursor-based navigation, Shift+Arrow range selection, and a separate selected vs active state model
  • Both support configurable orientation, RTL text direction, looping, and MaybeAccessor props
  • Full browser and SSR test suites; adapted from corvu's solid-list (MIT)

@davedbase davedbase added this to the Solid 2.0 Migration milestone May 15, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

⚠️ No Changeset found

Latest commit: b0304c1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant