Add settings-form components: checkbox, segmented, select, banner, collapsing, nav_item#1
Merged
Merged
Conversation
…llapsing, nav_item Seven new primitives for composing settings / form dialogs, all following the library conventions (free fn, &Tokens, animated hover, painter-based): - nav_item sidebar nav row, solid-accent selected pill - checkbox square checkbox with label + optional description - segmented horizontal segmented control (mutually-exclusive) - select dropdown trigger box + popup - select_option one option row inside a select popup - banner status callout (BannerKind Success/Danger/Warning/Info) - collapsing "Advanced options" disclosure section Needed for the redesigned Tokito Settings dialog. cargo clippy --lib clean; examples build. README component table updated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 21, 2026
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
…llapsing, nav_item (#1) Seven new primitives for composing settings / form dialogs, all following the library conventions (free fn, &Tokens, animated hover, painter-based): - nav_item sidebar nav row, solid-accent selected pill - checkbox square checkbox with label + optional description - segmented horizontal segmented control (mutually-exclusive) - select dropdown trigger box + popup - select_option one option row inside a select popup - banner status callout (BannerKind Success/Danger/Warning/Info) - collapsing "Advanced options" disclosure section Needed for the redesigned Tokito Settings dialog. cargo clippy --lib clean; examples build. README component table updated.
kakarot-dev
added a commit
that referenced
this pull request
May 22, 2026
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.
What
Adds seven composable primitives to
tokito_ui, needed to build the redesigned Tokito Settings dialog (Tokito UI migration — VtronTokito/tokito#26):nav_itemcheckboxsegmentedselect/select_optionbannerBannerKind::Success/Danger/Warning/InfocollapsingAll follow the library conventions: free function,
&Tokens, animated hover, painter-based, doc comment.Why
tokito_uialready hadmodal,toggle,text_input,text_button, etc. — but no checkbox, dropdown, segmented control, status banner, or disclosure. All are required by the new Settings screens. Per thetokito_ui-only component rule, they belong here, not hand-rolled in the app.Verified
cargo clippy --lib --all-features— cleancargo build --examples— passes🤖 Generated with Claude Code