Source on GitHub ↗

The introduction, in your browser

Try the examples.

Click a counter, choose a loading state, swap an editor, or try saving an empty title.

Live componentLEAN + REACT

Counter

Click the button. Each click updates state in a Lean component, rendered by React.

See the Lean source →
Live componentLEAN + REACT

Loading states

Choose a state to see what the ticket list shows. Try Empty and Failure: they tell two different stories.

See the Lean source →
Live componentLEAN + REACT

Swap editors

Edit the title, then switch to a textarea. The text you typed stays with the parent component.

See the Lean source →
Live componentLEAN + REACT

Form validation

Clear the title and try to save. Then type a new title and save again.

See the Lean source →