This directory contains a growing number of standalone example projects, including live online versions, build instructions and commented source code.
If you want to contribute an example, please get in touch via PR, issue tracker, email or twitter!
# | Name | Description | Packages of interest | Difficulty |
---|---|---|---|---|
1 | async-effect | Async side effect handling (JSON I/O) | atom, hdom, interceptors | intermediate |
2 | canvas-dial | Canvas dial component w/ mouse & touch events | hdom, rstream, rstream-gestures, transducers, transducers-hdom | intermediate |
3 | cellular-automata | Transducer based, customizable 2D cellular automata | hdom, hdom-components, transducers | basic |
4 | commit-table-ssr | Server-side & static file rendering of hiccup components | hiccup, transducers | intermediate |
5 | crypto-chart | Interactive rstream & transducer based SVG chart | hdom, hiccup-svg, rstream, transducers | advanced |
6 | dashboard | Barebones components w/ local state | hdom, transducers | basic |
7 | devcards | Multiple app instances with/without shared state | atom, hdom | intermediate |
8 | gesture-analysis | Mouse/touch gesture processing, analysis & visualization | rstream, rstream-gestures, transducers, hiccup-svg | intermediate |
9 | hdom-basics | Hello world | hdom, hiccup | basic |
10 | hdom-benchmark | hdom rendering perf / stress test, FPS counter | hdom, rstream, transducers | intermediate |
11 | hdom-canvas-clock | hdom-canvas rendered clock | hdom, hdom-canvas, transducers | basic |
12 | hdom-canvas-draw | hdom-canvas mouse / touch gesture drawing | hdom, hdom-canvas, transducers | intermediate |
13 | hdom-canvas-shapes | various hdom-canvas shape tests | hdom, hdom-canvas, rstream, transducers | basic |
14 | hdom-theme-adr-0003 | hdom themed components proposal | hdom | intermediate |
15 | hmr-basics | hdom & hot module replacement | hdom, memoize | basic |
16 | hydrate-basics | hiccup / hdom DOM hydration | hiccup, hdom | intermediate |
17 | interceptor-basics | Event handling w/ interceptors and side effects | atom, hdom, interceptors | intermediate |
18 | json-components | JSON->component transformation, live editor | hdom, transducers | intermediate |
19 | login-form | Basic SPA without router | atom, hdom | intermediate |
20 | pointfree-svg | Generate SVG using pointfree DSL | hiccup, hiccup-svg, pointfree-lang | intermediate |
21 | router-basics | Complete mini SPA | atom, hdom, interceptors, router | advanced |
22 | rstream-dataflow | Dataflow graph | atom, hdom, rstream, rstream-gestures, rstream-graph, transducers | intermediate |
23 | rstream-grid | Dataflow graph SVG grid | atom, hdom, hiccup-svg, interceptors, rstream-graph, transducers | advanced |
24 | rstream-hdom | rstream based UI updates & state handling | hdom, rstream, transducers | intermediate |
25 | svg-barchart | hdom SVG barchart component | hdom, transducers | basic |
26 | svg-particles | hdom SVG generation / animation | hdom, transducers | basic |
27 | svg-waveform | hdom SVG generation / undo history | atom, hdom, hiccup-svg, interceptors, iterators | intermediate |
28 | todo-list | Canonical Todo list with undo/redo | atom, hdom, transducers | intermediate |
29 | transducers-hdom | Transducer & rstream based hdom UI updates | hdom, rstream, transducers-hdom | basic |
30 | triple-query | Triple store query results & sortable table | atom, hdom, hdom-components, rstream-query, transducers | intermediate |
31 | webgl | Canvas component handling | hdom, hdom-components | basic |
32 | xml-converter | XML/HTML/SVG to hiccup conversion as you type | rstream, sax, transducers, transducers-hdom | advanced |