templ-components
CommunityBuild reusable templ UI components with props.
Authorev3rlit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building scalable UIs requires reusable, strongly-typed components that can be composed to form complex interfaces. This Skill provides templ-based components with prop typing, children composition, and a library of common patterns to speed UI development.
Core Features & Use Cases
- Basic Component: templ Button(text string) defines a simple, reusable button component.
- Component with Multiple Props: templ Button(text string, variant string, disabled bool) demonstrates multiple props handling.
- Component with Children: templ Card(title string) shows how child content can be composed inside a component.
- Component with Struct Props: using typed structs to pass multiple related properties.
- Common Components: Button Variants, Card, List, Modal to accelerate UI composition.
- Layout Components: Container, Grid, Navigation for layout scaffolding.
- Composition Patterns: Slots, Render Props, Wrapper Components for flexible composition.
- Best Practices: guidelines for type-safety and maintainable component APIs.
Quick Start
Create a minimal templ component library by adding Button, Card, and Layout components, then render them in a sample page to verify they compose correctly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: templ-components Download link: https://github.com/ev3rlit/doodle/archive/main.zip#templ-components Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.