Lightlines
By supabase

vercel-composition-patterns

supabase1.9k installs

Composable React components without boolean prop sprawl.

What it does

Refactor React components into reusable compositions using compound components, shared providers, and dependency-injected state.

When to use it

Use when refactoring boolean-heavy components, building reusable component libraries, designing component APIs, or reviewing compound components and context providers.

How to use it

It changes how the agent designs and refactors React components by favoring composition, explicit variants, and provider-based state sharing.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.