Early accessFull site coming soon. Pro is $49.99 a year. See pricing ›

Nexus UI

Pull to Refresh, animated React component

A balance card you pull down to refresh: it rubber-bands and stretches while a ring draws itself, closes the ring past the line, holds while it spins, then springs back with a little overshoot as the digits roll and the chart redraws.

  • Pro
  • Loaders
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Portfolio
$58,834.75
▲ $1,204.60 since last refresh
1H4H1D
Pull the card down past the line.

Props

PropTypeDefaultWhat it does
initialBalance58834.75Balance shown before the first refresh.
onRefreshundefinedCalled each time a pull commits, with the new balance and the change.
autoplayfalsePulls the card down and refreshes every 4.2 s, until someone drags it or uses the keyboard.