Renderless Components
Teaches the renderless component pattern for logic-only Vue components. Use when you want to encapsulate behavior without dictating markup, letting consumers control rendering via scoped slots.
Install
npx skills add PatternsDev/skills --skill renderless-componentsgit clone --depth 1 https://github.com/PatternsDev/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/vue/renderless-components ~/.claude/skills/renderless-componentsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Renderless Components ## Table of Contents - [When to Use](#when-to-use) - [When NOT to Use](#when-not-to-use) - [Instructions](#instructions) - [Details](#details) - [Source](#source) 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 ## When NOT to Use - When composables achieve the same logic reuse without extra component nesting (Vue 3+) - When the renderless component wraps trivial logic that a simple function or composable handles more clearly - When the scoped slot API becomes harder to understand than a direct composable return value ## Instructions - Create a component that provides data and methods through a single `<slot>` with scoped slot props
Details
- Skill name
renderless-components- Repository
- PatternsDev/skills
- Path
vue/renderless-components/SKILL.md- Repo updated
- 15 April 2026
FAQ
What does the Renderless Components skill do?
Teaches the renderless component pattern for logic-only Vue components. Use when you want to encapsulate behavior without dictating markup, letting consumers control rendering via scoped slots.
How do I install the Renderless Components skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add PatternsDev/skills --skill renderless-components. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Renderless Components popular?
It lives in PatternsDev/skills, which has 259 GitHub stars and 28 forks.
Related skills
AI UI Patterns
259PatternsDev/skills
Teaches design patterns for building AI-powered React interfaces. Use when creating chatbots, intelligent assistants, streaming UIs, or any AI-driven user experience in React.
Async Components
259PatternsDev/skills
Teaches async component loading in Vue for performance optimization. Use when you have heavy components that aren't needed on initial render and can be loaded on demand.
Bundle Splitting
259PatternsDev/skills
Teaches bundle splitting techniques for web performance. Use when your application has a large JavaScript bundle that affects load times or when you need to reduce FCP/LCP.
Script Setup
259PatternsDev/skills
Teaches Vue's script setup syntax for concise Composition API usage. Use when writing Vue 3 single-file components and you want a more ergonomic, less boilerplate syntax for the Composition API.
Render Props Pattern
259PatternsDev/skills
Teaches the render props pattern for flexible component composition. Use when you need to share rendering logic between components by passing a function that returns JSX as a prop.
Server Side Rendering
259PatternsDev/skills
Teaches server-side rendering (SSR) for React applications. Use when you need faster initial page loads, better SEO, or dynamic per-request HTML generation.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.