Examples: JavaScript

Custom slider

How to create a custom slider control and animate curves

Read full example

Alternative Dropdown

How to create a button that serves as an alternative to a dropdown

Read full example

Drag to reorder

How to add a drag-to-reorder behaviour on a list of items

Read full example

Code input

How to create a segmented code input control

Read full example

Endless scroller

An endless feed that appends more items as the user scrolls near the bottom

Read full example

A todo-app

A todo app with multiple transitions

Read full example

Tab bar navigation

Navigate between pages with a custom tab bar navigation setup

Read full example

Social media example

See how easy it is to design a social media experience

Read full example

News feed

Get JSON data using fetch and present it as a news feed

Read full example

Pages using Javascript

A list of buttons navigating to and from pages

Read full example

Fetching JSON

Parsing JSON fetched over HTTP and displaying the results

Read full example