Vercel Composition Patterns
React composition patterns for scaling components and avoiding boolean prop proliferation.
- Type
- Skill
- Author
- vercel-labs
- Category
- Frontend
- GitHub stars
- 33.1K
- Installs
- 420.1K
- Last updated
- October 28, 2026
Install
npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-composition-patternsUse cases
- Refactor a component whose boolean props keep multiplying into composable pieces.
- Decide how to split a large component tree into smaller, reusable parts.
- Review a component API before it grows unwieldy and hard to extend.
Frequently Asked Questions
Is this a code generator?
No, it is a reference set of React composition patterns rather than a generator.
What problem does it address?
Scaling component trees and avoiding boolean prop proliferation.
When is it most useful?
When a component's props are growing unwieldy or when deciding how to split and compose pieces.
About this skill
React composition patterns for scaling component trees and avoiding boolean prop proliferation. Use it when a component's props are growing unwieldy or when deciding how to split and compose pieces. It's a reference set of patterns rather than a code generator.
Summary written with AI assistance from the project's public description.
Categories
More from vercel-labs
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Agent Browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking button...
by vercel-labs
Vercel React Best Practices
React and Next.js performance optimization across 70 rules prioritized by impact.
by vercel-labs
Web Design Guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "c...
by vercel-labs
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh