Did you know?dyk.si

Pull to Refresh

Pull a list down from the top, a spinner appears, and the content refreshes.

overscroll + touch events (custom)

When to use it

For frequently updated lists: messages, orders.

Common mistake

Unnecessary if content updates live.

Accessibility

Also offer a visible refresh button for users who can’t swipe.

Name in code

HTML/CSSoverscroll + touch events (custom)
Reactreact-pull-to-refresh
Jetpack ComposePullToRefreshBox
SwiftUI.refreshable { }

Ready prompt for your coding agent

Add a Pull to Refresh to this screen. What it is: Pull a list down from the top, a spinner appears, and the content refreshes. Implement with: overscroll + touch events (custom) (HTML/CSS). Accessibility: Also offer a visible refresh button for users who can’t swipe. When to use it: For frequently updated lists: messages, orders. Avoid: Unnecessary if content updates live. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.