examples

Build Status MIT License

Riot Examples

This is a series of examples designed to showcase the benefits of adopting Riot. It is made possible by the Riot open source community.

Note: The Riot.js 3 examples are available here .

We have several examples to choose from; each one demonstrates different aspects of Riot:

Basics

Example    
Timer Source Demo
Todo Source Demo
Todo (pre-compiled) Source Demo
Color Palette Source Demo
Hooks Source Demo
Router - Page switcher Source Demo
Animated list reordering Source Demo
Simple modal Source Demo
Live Ajax Search Source Demo

Advanced

Example    
TypeScript Source  
Router - Complex Source Demo
Router - History API Source  
Router - Lazy Routes Source  
SSR Source  
Deno Source  

Contribute

If you have an example that you think others could benefit from and you’d like to share it please read the contributing guidelines and submit a PR.

Bugs

If you find something that isn’t expected please create an issue and we’ll get on it. To make it easier to debug please use the Bug Reporter.