|
| 1 | +# Examples |
| 2 | + |
| 3 | +## Barebones Grid |
| 4 | + |
| 5 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: barebones grid" src="https://codepen.io/niklasramo/embed/preview/wpwNjK?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 6 | + See the Pen <a href="https://codepen.io/niklasramo/pen/wpwNjK"> |
| 7 | + Muuri: barebones grid</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 8 | + on <a href="https://codepen.io">CodePen</a>. |
| 9 | +</iframe> |
| 10 | + |
| 11 | +## Basic Sorting |
| 12 | + |
| 13 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: basic sorting" src="https://codepen.io/niklasramo/embed/preview/EvXoOG?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 14 | + See the Pen <a href="https://codepen.io/niklasramo/pen/EvXoOG"> |
| 15 | + Muuri: basic sorting</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 16 | + on <a href="https://codepen.io">CodePen</a>. |
| 17 | +</iframe> |
| 18 | + |
| 19 | +## Basic Vertical Grid With Dragging |
| 20 | + |
| 21 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: basic vertical grid with dragging" src="https://codepen.io/niklasramo/embed/preview/jyJLGM?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 22 | + See the Pen <a href="https://codepen.io/niklasramo/pen/jyJLGM"> |
| 23 | + Muuri: basic vertical grid with dragging</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 24 | + on <a href="https://codepen.io">CodePen</a>. |
| 25 | +</iframe> |
| 26 | + |
| 27 | +## Basic Horizontal Grid With Dragging |
| 28 | + |
| 29 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: basic horizontal grid with dragging" src="https://codepen.io/niklasramo/embed/preview/xPoVPe?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 30 | + See the Pen <a href="https://codepen.io/niklasramo/pen/xPoVPe"> |
| 31 | + Muuri: basic horizontal grid with dragging</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 32 | + on <a href="https://codepen.io">CodePen</a>. |
| 33 | +</iframe> |
| 34 | + |
| 35 | +## Multiple Instances |
| 36 | + |
| 37 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri demo: multiple instances" src="https://codepen.io/niklasramo/embed/preview/wJKMQz?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 38 | + See the Pen <a href="https://codepen.io/niklasramo/pen/wJKMQz"> |
| 39 | + Muuri demo: multiple instances</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 40 | + on <a href="https://codepen.io">CodePen</a>. |
| 41 | +</iframe> |
| 42 | + |
| 43 | +## Links As Grid Items |
| 44 | + |
| 45 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: links as grid items" src="https://codepen.io/niklasramo/embed/preview/ZvzVpg?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 46 | + See the Pen <a href="https://codepen.io/niklasramo/pen/ZvzVpg"> |
| 47 | + Muuri: links as grid items</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 48 | + on <a href="https://codepen.io">CodePen</a>. |
| 49 | +</iframe> |
| 50 | + |
| 51 | +## Prevent Dragging For Specific Items |
| 52 | + |
| 53 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: prevent dragging for specific items" src="https://codepen.io/niklasramo/embed/preview/LOzZPo?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 54 | + See the Pen <a href="https://codepen.io/niklasramo/pen/LOzZPo"> |
| 55 | + Muuri: prevent dragging for specific items</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 56 | + on <a href="https://codepen.io">CodePen</a>. |
| 57 | +</iframe> |
| 58 | + |
| 59 | +## Custom Layout Algorithm |
| 60 | + |
| 61 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: custom layout algorithm" src="https://codepen.io/niklasramo/embed/preview/LLbLLd?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 62 | + See the Pen <a href="https://codepen.io/niklasramo/pen/LLbLLd"> |
| 63 | + Muuri: custom layout algorithm</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 64 | + on <a href="https://codepen.io">CodePen</a>. |
| 65 | +</iframe> |
| 66 | + |
| 67 | +## Simple Kanban (With Scrolling Containers) |
| 68 | + |
| 69 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: simple kanban (with scrolling containers)" src="https://codepen.io/niklasramo/embed/preview/BrYaOp?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 70 | + See the Pen <a href="https://codepen.io/niklasramo/pen/BrYaOp"> |
| 71 | + Muuri: simple kanban (with scrolling containers)</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 72 | + on <a href="https://codepen.io">CodePen</a>. |
| 73 | +</iframe> |
| 74 | + |
| 75 | +## Images Inside Grid Items |
| 76 | + |
| 77 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: images inside grid items" src="https://codepen.io/niklasramo/embed/preview/xWYdmp?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 78 | + See the Pen <a href="https://codepen.io/niklasramo/pen/xWYdmp"> |
| 79 | + Muuri: images inside grid items</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 80 | + on <a href="https://codepen.io">CodePen</a>. |
| 81 | +</iframe> |
| 82 | + |
| 83 | +## Saving And Loading Layout |
| 84 | + |
| 85 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: saving and loading layout" src="https://codepen.io/niklasramo/embed/preview/YveqNN?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 86 | + See the Pen <a href="https://codepen.io/niklasramo/pen/YveqNN"> |
| 87 | + Muuri: saving and loading layout</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 88 | + on <a href="https://codepen.io">CodePen</a>. |
| 89 | +</iframe> |
| 90 | + |
| 91 | +## Clone Item Back To Original Grid When Dropping To Another Grid |
| 92 | + |
| 93 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri demo: clone item back to original grid when dropping to another grid" src="https://codepen.io/niklasramo/embed/preview/zPVBLq?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 94 | + See the Pen <a href="https://codepen.io/niklasramo/pen/zPVBLq"> |
| 95 | + Muuri demo: clone item back to original grid when dropping to another grid</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 96 | + on <a href="https://codepen.io">CodePen</a>. |
| 97 | +</iframe> |
| 98 | + |
| 99 | +## Blocked First Item |
| 100 | + |
| 101 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: blocked first item" src="https://codepen.io/niklasramo/embed/preview/EEdmJr?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 102 | + See the Pen <a href="https://codepen.io/niklasramo/pen/EEdmJr"> |
| 103 | + Muuri: blocked first item</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 104 | + on <a href="https://codepen.io">CodePen</a>. |
| 105 | +</iframe> |
| 106 | + |
| 107 | +## Drag Start Delay On Touch |
| 108 | + |
| 109 | +<iframe height="300" style="width: 100%;" scrolling="no" title="Muuri: drag start delay on touch" src="https://codepen.io/niklasramo/embed/preview/WNRLwEV?default-tab=result" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> |
| 110 | + See the Pen <a href="https://codepen.io/niklasramo/pen/WNRLwEV"> |
| 111 | + Muuri: drag start delay on touch</a> by Niklas Rämö (<a href="https://codepen.io/niklasramo">@niklasramo</a>) |
| 112 | + on <a href="https://codepen.io">CodePen</a>. |
| 113 | +</iframe> |
0 commit comments