Components
Modal
{{ stability("experimental") }} {{ depends([]) }}This works like a simplified, React-native version of Bootstrap's modal.
{% code_example "modal.jsx" %}Button Group
{{ stability("unstable") }} {{ depends([]) }}A nice looking replacement for a related set of buttons (like radio buttons).
{% code_example "button-group.jsx" %}Multi Button Group
{{ stability("unstable") }} {{ depends([]) }}Like Button Group, but with multi-select (like checkboxes).
{% code_example "multi-button-group.jsx" %}$_
{{ stability("unstable") }}
{{ depends([]) }}
A pseudo-component useful for internationalization.
{% code_example "i18n.jsx" %}Layered Component Mixin
{{ stability("unstable") }} {{ depends([]) }}Render another component in a div appended to the page.
{% code_example "layered-component-mixin.jsx" %}Set Interval Mixin
{{ stability("unstable") }} {{ depends([]) }}Like setInterval
that calls clearInterval
for you.
State-from-Store Mixin
{{ stability("unstable") }} {{ depends([("https://facebook.github.io/flux/", "Flux")]) }}Wires change listeners to get updates from a flux store.
{% code_example "state-from-store-mixin.jsx" %}TimeAgo
{{ stability("unstable") }}
{{ depends([("http://momentjs.com/", "moment")]) }}
Human friendly display of how long it's been since an event happened.
{% code_example "timeago.jsx" %}Blur Input
{{ stability("unstable") }} {{ depends([]) }}An input component that notifies its parent of changes when it loses focus.
{% code_example "blur-input.jsx" %}TeX
{{ stability("unstable") }} {{ depends([("https://github.com/Khan/KaTeX", "KaTeX"), ("http://www.mathjax.org/", "MathJax")]) }}Easily render LaTeX using MathJax or Khan Academy's fast KaTeX library.
{% code_example "tex.jsx" %}Tooltip
{{ stability("unstable") }} {{ depends([]) }}A better tooltip.
{% code_example "tooltip.jsx" %}Info-Tip
{{ stability("unstable") }} {{ depends([]) }}A very simple informational tooltip that displays on hover.
{% code_example "info-tip.jsx" %}Sortable
{{ stability("unstable") }} {{ depends([]) }}Sort a list.
{% code_example "sortable.jsx" %}Drag Target
{{ stability("unstable") }} {{ depends([]) }}Accept dragged content from the browser or the desktop.
{% code_example "drag-target.jsx" %}Window Drag
{{ stability("experimental") }} {{ depends([]) }}Detect drags into and out of the page.
{% code_example "window-drag.jsx" %}Timeout Transition Group
{{ stability("unstable") }} {{ depends([]) }}A wrapper which applies CSS classes to children who are entering or leaving. It is very much like the CSSTransitionGroup
provided in the React addons. Unfortunately, CSSTransitionGroup
uses the transitionEnd
event, which is not fired in a variety of conditions (including the transition not being visible or in another tab). This version of CSSTransitionGroup
uses a manually set timeout, instead.
Backbone Mixin
{{ stability("deprecated") }} {{ depends([]) }}Update this view every time a backbone model updates:
You should know that I highly recommend not using this mixin. It inevitably leads to inefficient code and janky UX. Not at first - only gradually. You won't really notice until it's too late and BackboneMixin
runs the interface you just spent three months on.
Anyway, you're your own person - do what you think is right.
{% code_example "backbone-mixin.jsx" %}