360 Secure SkillHub
360 安全技能中心

Tab

通过本地 shell 脚本按子命令输出 Tab UI 组件的参考文档,内容包括使用场景、结构剖析、设计模式、ARIA 可访问性、状态管理、响应式策略、CSS 实现与检查清单;属于纯文本知识参考,不含可运行的组件代码。

ckchzh
ckchzh
热度 57.18
最近更新 2026-05-11 17:34:47
分类:知识依赖:代码执行应用场景:概念解释

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tab
Metadata
name
tab
version
1.0.0
description
Tab UI component reference — design patterns, accessibility, state management, responsive tabs. Use when implementing tabbed interfaces, designing tab navigation, or building accessible tab components.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["tab","tabs","ui-component","navigation","a11y","frontend","tabpanel"]
category
frontend

Tab — Tab UI Component Reference

Quick-reference skill for tab component design, accessibility patterns, and implementation.

When to Use

  • Implementing tabbed content panels in web applications
  • Designing tab navigation for sections of related content
  • Making tabs accessible with proper ARIA roles and keyboard support
  • Choosing between tabs, accordions, and other navigation patterns
  • Building responsive tab components that work on mobile

Commands

intro

scripts/script.sh intro

Tab component overview — when to use tabs, types, alternatives.

anatomy

scripts/script.sh anatomy

Tab anatomy — tab list, tab buttons, tab panels, indicators, badges.

patterns

scripts/script.sh patterns

Design patterns — horizontal, vertical, scrollable, closeable, draggable tabs.

accessibility

scripts/script.sh accessibility

Accessibility — ARIA roles, keyboard navigation, focus management, screen readers.

state

scripts/script.sh state

State management — controlled vs uncontrolled, lazy loading, URL sync, persistence.

responsive

scripts/script.sh responsive

Responsive strategies — scrollable tabs, dropdown conversion, priority tabs, swipe.

css

scripts/script.sh css

CSS implementation — indicator animations, theming, variants, transitions.

checklist

scripts/script.sh checklist

Tab component design and implementation checklist.

help

scripts/script.sh help

version

scripts/script.sh version

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com