web-components - Build reusable components with Web Components
Creates framework-agnostic custom HTML elements with Custom Elements, Shadow DOM, templates, slots, and related browser APIs.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
What this skill does
- Define custom elements
- Extend built-in elements
- Encapsulate DOM and styles
- Compose templates and slots
- Reflect properties and attributes
- Associate elements with forms
- Expose CSS styling hooks
- Apply theme variables
Inputs
- Component markup
- Element attributes
- Template content
- Slot content
- Theme variables
- External CSS
Outputs
- Custom HTML elements
- Encapsulated component DOM
- Scoped component styles
- Reactive component behavior
- Form-associated elements
