easeUI

Pull to Refresh

A pull-down gesture over scrollable content: the indicator tracks the finger 1:1, then resists past the trigger distance and spins while refreshing.

  • Standup moved to 10am
  • New comment on your PR
  • Weekly report is ready

Installation

$ bunx --bun shadcn add @easeui/pull-to-refresh

API reference

PropTypeDefaultDescription
onRefresh() => any-Called on release past the trigger distance. The indicator keeps spinning until it resolves.
childrenReactNode-The scrollable content. Give this element a height through className.
className?string--

Updated