tab-navigation

Featured

Tabs organise related content under a shared context — switching tabs swaps the view without leaving the page. Use when a screen has multiple distinct content areas that share a common header or action set, and when the user needs to switch between them frequently. Use when designing tabbed layouts, content panels, settings pages, detail views, or dashboards with multiple data views.

AI & Automation 61 stars 10 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Tab Navigation Tabs organise related content under a shared context. The tab strip communicates the full set of available views; switching tabs swaps the content panel without a page navigation. They work best when all views share a heading, a primary action, or a common subject — tabs that have nothing to do with each other belong in separate pages. --- ## When to Use Tabs — and When Not To | Use tabs when… | Use something else when… | |---|---| | 2–7 views share a common context (same record, same settings section) | There are more than 7–8 tabs — use a sidebar or section nav instead | | Users switch between views frequently during a session | The content is sequential (use a stepper/wizard instead) | | All tabs are equally valid entry points | One view is clearly primary — put the rest in a secondary nav or overflow | | The views share a header or set of page-level actions | Each "tab" requires a different header and layout — use separate pages | --- ## Tab Types Choose the visual style that fits the layout context. ### Underline / Indicator Tabs A horizontal strip with a sliding underline or bottom border on the active tab. The lightest treatment — appropriate for page-level tabs where the tab strip sits inside the content area. ``` Overview | Activity | Settings ────────── ``` ### Contained / Boxed Tabs Each tab is a distinct box; the active tab appears connected to the panel below. Higher visual weight — appropriate for prominent tab groups near the top ...

Details

Author
dembrandt
Repository
dembrandt/dembrandt-skills
Created
5 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

platform-blocks-navigation

Build navigation with the @platform-blocks/ui React Native library. Use when adding in-page tabs (Tabs with items/activeTab/onTabChange and line/chip/card/folder variants), breadcrumb trails, Pagination controls, multi-step Stepper flows, a Spotlight command palette (spotlight store, cmd+K shortcut), a TableOfContents driven by useScrollSpy, Link and MenuItemButton, or wiring any of these to Expo Router (useRouter/usePathname, SEO-safe anchors, theme bridging) — including how Platform Blocks Tabs differs from expo-router Tabs.

0 Updated 4 weeks ago
platform-blocks
AI & Automation Featured

modal-and-overlay-patterns

Overlays — modals, drawers, bottom sheets, popovers — interrupt or augment the main flow. Each type has a different scope, blocking level, and appropriate use case. Use when designing dialogs, confirmation prompts, side panels, action sheets, or any UI element that appears above the main content layer.

61 Updated today
dembrandt
Data & Documents Featured

data-display-and-selection

Complex data deserves multiple view modes — grid, list, table — chosen by the user based on their task. Row and item selection should use large hit areas (the whole row or card, not just a checkbox). Selected state is communicated through a subtle background colour shift. Mass actions appear when items are selected. Use when designing data tables, product listings, file browsers, or any multi-item collection.

61 Updated today
dembrandt