Skip to main content

uno-toolkit-tabbar

Use TabBar and TabBarItem for tab navigation with icons, labels, badges, and selection indicators. Supports bottom navigation, top tabs, and vertical tabs.

跳到安装

来源信息

仓库
unoplatform/studio
最近来源活动
2026年6月9日 19:39
检测到的 SKILL.md 语言
英语
星标
10
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
uno-toolkit-tabbar
description
Use TabBar and TabBarItem for tab navigation with icons, labels, badges, and selection indicators. Supports bottom navigation, top tabs, and vertical tabs.
when_to_use
Use when styling a `TabBar`'s visual appearance (icons, labels, badges, selection indicator, bottom / top / vertical orientation). For region wiring inside a navigation shell, use `uno-navigation-tabbar` instead. Always set an explicit `Style` for proper appearance.
metadata
{"author":"uno-platform","version":"2.5","category":"toolkit"}
# Uno Toolkit TabBar — Agent Skill ## Workflow > **Docs lookup:** call `uno_platform_docs_search(...)` first, then `uno_platform_docs_fetch(sourcePath="…")` using the `sourcePath` field from a result (a relative `.md` path; add the result's `anchor` for a section). Never pass a URL, a `.html` link, or a hand-built path. ### Step 1: Fetch the TabBar Documentation ``` uno_platform_docs_search("Uno Toolkit TabBar TabBarItem bottom navigation styles icons badges") ``` Primary documentation page: - **TabBar & TabBarItem**: `external/uno.toolkit.ui/doc/controls/TabBarAndTabBarItem.md` Fetch the page: ``` uno_platform_docs_fetch(sourcePath="external/uno.toolkit.ui/doc/controls/TabBarAndTabBarItem.md") ``` ### Step 2: For TabBar with Navigation Extensions If using TabBar as a navigation control: See the `uno-navigation-tabbar` skill for region-based navigation integration. ### Step 3: For Chefs TabBar Example ``` uno_platform_docs_search("Chefs TabBar navigate bottom tab example") ``` Key page: - **Chefs Navigate TabBar**: `external/uno.chefs/doc/toolkit/NavigateTabBar.md` ## Key Principles (Stable) - **Always apply a style** to TabBar for proper appearance (e.g., `BottomTabBarStyle`, `TopTabBarStyle`, `VerticalTabBarStyle`) - Styling goes on the **TabBar container**, not individual TabBarItems - `TabBarItem` supports `Icon`, `Content` (label), and `Badge` - For navigation, use with `uen:Region.Name` on each TabBarItem - XAML namespace: `xmlns:utu="using:Uno.Toolkit.UI"` ## Related Skills - [[uno-navigation-tabbar]] — TabBar with Navigation Extensions - [[uno-toolkit-tabbaritem-extensions]] — TabBarItem attached properties - [[uno-toolkit-segmented-controls]] — Segmented control style
在 GitHub 查看