renderless-components

Installation
SKILL.md

Renderless Components

Table of Contents

Renderless components are a pattern in Vue that separates the logic of a component from its presentation. The pattern provides a way to encapsulate functionality without dictating the visual representation of the component. In other words, a renderless component focuses solely on the logic and behavior, while leaving the rendering to the parent component.

Renderless components are particularly useful when we need to create reusable logic that can be applied to different UI implementations. By abstracting the logic into a renderless component, we can easily reuse it in various contexts without duplicating code.

When to Use

  • Use this when you need to reuse logic across components with completely different visual representations
  • This is helpful for providing a component-based API in a component library
Related skills
Installs
89
GitHub Stars
202
First Seen
Mar 30, 2026