---
title: Components
description: "Stacks provides a powerful component system for building reusable UI elements. Components in Stacks use a STX-like syntax with TypeScript support, compiled..."
---
# Components
Stacks provides a powerful component system for building reusable UI elements. Components in Stacks use a STX-like syntax with TypeScript support, compiled through the Stacks templating engine.
## Overview
The component system helps you:
- **Build reusable UI** - Create modular, composable interfaces
- **Maintain consistency** - Shared components ensure UI uniformity
- **Type-safe props** - Full TypeScript support for component APIs
- **Scoped styles** - CSS isolated to components
## Quick Start
### Creating a Component
Components live in `resources/components/`:
```html
```
### Using Components
```html