# Basic Examples

This directory contains basic examples to help you get started with Raxol. These examples demonstrate core concepts and simple use cases.

## Examples

### Counter

A simple counter application demonstrating basic state management with increment and decrement functions.

```
mix run examples/basic/counter.exs | cat
```

### Multiple Views

Demonstrates how to handle multiple views and navigate between them.

```
mix run examples/basic/multiple_views.exs | cat
```

### Rendering

Shows various rendering capabilities of Raxol, including layout, styling, and component usage.

```
mix run examples/basic/rendering.exs | cat
```

### Subscriptions

Demonstrates how to use subscriptions for time-based events.

```
mix run examples/basic/subscriptions.exs | cat
```
