跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/tambo-ai/tambo/building-compound-components

Claude Code Tambo Compound Components for Headless React State

Build an unstyled Root and child components in the Tambo checkout. Share behavior through context and expose state through render props while consumers control styling.

中文

Install in Claude Code

Use Claude Code in the pinned Tambo checkout with the project's React dependencies.

  1. Open the pinned repository checkout and confirm `.claude/skills/compound-components/SKILL.md` is present.
  2. Start Claude Code in the repository root and call `/compound-components` with the work and its verification goal.

Example task

Design a fictional expandable help card. Root owns the state, Trigger handles the interaction, and the consumer styles Content. Use one behavior across two appearances.

What to check

Expect namespaced components and readable open state. Styling stays in the consumer and the internal context hook stays out of public exports.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Why expose state with render props?

The component exposes useful state and attributes while keeping shared behavior internal and leaving rendering choices to consumers.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯