---
url: /examples.md
---
# Examples

## Playground

You can try Regle in the [Regle Playground](https://play.reglejs.dev).

## Simple Validation Example

See a minimal usage of Regle's validation logic:\
[Simple Validation Example](./simple.md)

## Advanced Example

Advanced validation patterns and techniques:\
[Advanced Example](./advanced.md)

## Collections Example

Working with arrays and collections in your forms:\
[Collections Example](./collections.md)

## Server Validation Example

Handling server-side validation and external errors:\
[Server Validation Example](./server-validation.md)

## Conditional Rules Example

Applying validation rules conditionally based on form state:\
[Conditional Rules Example](./conditional-rules.md)

## Custom Rules Example

Define and use your own custom validation rules:\
[Custom Rules Example](./custom-rules.md)

## Required Indicators Example

Display required field indicators in your forms:\
[Required Indicators Example](./required-indicators.md)
