Repository navigation
docs: add Tabs, Segmented control, and Exclusive category filter pages - #52
Open
anahernandez-dev wants to merge 2 commits into
Open
anahernandez-dev wants to merge 2 commits into
anahernandez-dev wants to merge 2 commits into
Conversation
- Tabs (new Navigation subcategory): navigation tabs by default, plain tabs inside side panels and drawers, with a live navigation tabs demo. - Segmented control (Inputs): view switching for format, grouping, and time scale, with Content and Style variants. Not in Wonder Blocks yet. - Exclusive category filter (Inputs): single-category filtering with a live demo, a 6-option cap, wrapping, and no Clear all filters. - Filter and sort, Active filters, and Clear filter now cover all three. - Add @khanacademy/wonder-blocks-tabs and wonder-blocks-filters for the demos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new build was pushed to Chromatic! 🚀 |
…filter - Add a Label section to both pages: when to show a visible label, and block start vs. inline start position. - Update the Activation image to show a block start Group by label. - Replace the icon-only chart container image with a close-up. - Give the Exclusive category filter demo a visible Subject label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds guideline pages for three components that are easy to confuse, and sets out when to use each one.
New pages
ResponsiveNavigationTabsdemo. It covers tabs vs. navigation tabs, 2–6 tabs, overflow, and where tabs can go (drawers yes, modals no).ExclusiveCategoryFilterdemo. It covers 2–6 options, wrapping instead of scrolling, no Clear all filters, and not combining it with a filter bar. It can be paired with search or a segmented control.Updated pages
Dependencies
@khanacademy/wonder-blocks-tabsand@khanacademy/wonder-blocks-filtersfor the live demos.Review notes
syl-darktheme.🤖 Generated with Claude Code