Home

Awesome

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
TimerSourceDemo
TodoSourceDemo
Todo (pre-compiled)SourceDemo
Color PaletteSourceDemo
HooksSourceDemo
Router - Page switcherSourceDemo
Animated list reorderingSourceDemo
Simple modalSourceDemo
Live Ajax SearchSourceDemo

Advanced

Example
TypeScriptSource
Router - ComplexSourceDemo
Router - History APISource
Router - Lazy RoutesSource
SSRSource
DenoSource

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.