---
title: "SWR: React Hooks for Data Fetching"
description: "SWR provides modern data fetching with a single React hook. Built-in caching, revalidation, and request deduplication keep your UI fast and up to date."
url: https://vercel.com/oss/swr
---

# SWR

SWR is a React Hooks library for data fetching from Vercel. The name comes from stale-while-revalidate: it serves cached data first, revalidates in the background, and keeps your UI fast and reactive.

To use SWR in your project, follow the [getting started guide](https://swr.vercel.app/docs/getting-started). The source is at [github.com/vercel/swr](https://github.com/vercel/swr). To deploy your app, use [Vercel](https://vercel.com/new).
