Frontend Components

Standardize reusable UI component design across React, Vue, Svelte, and web components.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/dpietersz/pietersz.me --skill frontend-components-dpietersz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend Components
Source: https://github.com/dpietersz/pietersz.me/tree/main/.claude/skills/frontend-components
Command: npx skills add https://github.com/dpietersz/pietersz.me --skill frontend-components-dpietersz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontend teams often duplicate UI logic and boilerplate when building components across projects; this skill provides a structured approach to create reusable, composable components with clear interfaces and encapsulation.

Core Features & Use Cases

  • Reusable component patterns across React, Vue, Svelte, and web components
  • Clear interfaces, single responsibility, encapsulation, and API design
  • Use cases include building design-system driven components and refactoring monolithic widgets

Quick Start

Create a simple reusable Button component following these guidelines to illustrate proper props, state, and API design.

Frequently Asked Questions about Frontend Components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to build reusable UI components across React and Vue?

The best way to build reusable UI components is to establish standardized patterns for prop definitions, state management, and API design. This approach ensures clear interfaces and single responsibility, reducing duplicated frontend logic across React, Vue, Svelte, and web components.

How do I refactor monolithic frontend widgets into composable components?

To refactor monolithic widgets into composable components, apply encapsulation principles and consistent naming conventions to separate concerns. Structuring the component APIs around single responsibility ensures maintainable standards and clear interfaces across multiple projects.

When do I need a design system integration for my web components?

Design system integration is needed when building reusable UI components across multiple projects to eliminate inconsistent and duplicative frontend code. Integrating design systems standardizes prop definitions and state management, ensuring component encapsulation and maintainable standards.

Does this approach work with Svelte and standard web components?

Yes, this approach works with Svelte and standard web components. It provides standardized guidance for designing reusable UI components across multiple frameworks, covering clear interface definitions, state management, and API design for React, Vue, Svelte, and web components.

Why does my frontend team have inconsistent component props and APIs?

Your frontend team has inconsistent component props and APIs due to duplicated UI logic and boilerplate across projects. Applying standardized naming conventions, clear interface definitions, and encapsulation patterns resolves these maintainability issues and aligns your design system.