-
-
Notifications
You must be signed in to change notification settings - Fork 923
Components
LINKS to Mithril component examples
Some of these code samples were developed with the old module pattern (pre 0.2.0). It shouldn't be difficult to convert them to the current component architecture
If you can't find it here, try the Recipes-and-Snippets page.
- Collections
-
Examples
- Modals
- Select
- Radio Buttons
- Infinite Scroll
- Content Sliders
- Data - sort, search, filter
- Search Box - in-page & site
- Tooltips
- Misc
-
mithril-elements by Phil Toms, a Starter kit for building apps with Mithril custom element types with demo, uses an older version of Mithril, includes Accordion, Jumbotron, Tabset/Tabs, Modal, Use of Occlusion Scroller
-
mithril-components - a library of components, mixins and patterns.
-
mithril-bootstrap - a lot of work has been done porting bootstrap to Mithril but the project is still in development.
-
Polythene - Polymer inspired modular implementation of Material Design
-
mithril-mdl - Material Design Lite components
-
mithril-modal from Human Design
-
mithril-modal - common.js with inline styles
-
simple select component - a simple component that wraps around
-
Infinite Scroll - Infinite scroll for Mithril (ArthurClemens)
-
A scroll-occluded bootstrap media-list example - see the DEMO
- Treebeard - A hierarchical data renderer - sort, search, filter data
- Mithril Slider - Content slider for Mithril
- Mithril Page Slider - Page slider for Mithril
- Page Slider example - uses mithril-transition and pure CSS
-
Search page text - highlights found text as you type
-
Search Github for repository - uses (Reactive) RxJS Observables + auto-complete
-
basic tooltip - always appears below
- Post to Twitter [ javascript ] [ coffeescript ]
-
sm-table -- semantic-ui data table widget with optional pagination
-
Nested Components - DEPRECATED. USE MODERN COMPONENTS
-
Animated Page Flip - with velocity.js
-
Video chooser/player + example of paging a long list