Skip to content

[WIP] docs(S2): add Custom Components docs and Examples page#9886

Open
reidbarber wants to merge 1 commit intomainfrom
docs-custom-s2-components
Open

[WIP] docs(S2): add Custom Components docs and Examples page#9886
reidbarber wants to merge 1 commit intomainfrom
docs-custom-s2-components

Conversation

@reidbarber
Copy link
Copy Markdown
Member

Adds a new "Custom Components" page to the S2 docs and an "Examples" page, similar to how we have for React Aria.

I'm still on the fence about the content, since there is a decent amount of overlap with the existing Styling docs, but it seems like we need better guidance towards combining React Aria Components + the S2 Style macro for creating custom S2 components.

We'll also need to think through what makes good "examples" and doesn't get too close to existing components.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@github-actions github-actions bot added the S2 label Apr 7, 2026
@rspbot
Copy link
Copy Markdown

rspbot commented Apr 7, 2026

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants