Vercel

Vercel Composition Patterns

Refactor React component APIs with compound components, explicit variants, context interfaces, lifted state, and React 19 patterns.

Vecbase review

A concise React API-design reference for component systems that have outgrown flag-driven behavior. Its patterns are most valuable when reuse and state ownership are already real design problems.

What stands out

  • Maintained by Vercel Labs and split into focused architecture, state, pattern, and React 19 rules.
  • Connects component composition to explicit state interfaces and implementation boundaries.
  • The inspected skill contains no bundled executable scripts.

What to know

  • Vecbase reviewed the complete source but did not run a task-shaped evaluation for this listing.
  • MIT is declared in the skill metadata; the inspected repository did not include a root license file.

What it can do

  • Replace behavior flags with composition or explicit component variants
  • Build related component APIs around shared context and clear ownership
  • Separate state interfaces from storage and synchronization details
  • Update component composition for current React 19 APIs

Try it

Refactor this component's boolean-prop API into explicit variants without hiding state ownership.
Review this component library for composition, context, and React 19 API problems.