Compatibility
Browsers
Silk supports the versions of the major browsers released in the past four years, on desktop, iOS and Android.
| Browser | Oldest supported version |
|---|---|
| Chrome, on desktop and Android | 108 (November 2022) |
| Edge | 107 (October 2022) |
| Firefox, on desktop and Android | 107 (November 2022) |
| Safari, on macOS, iOS and iPadOS | 16.1 (October 2022) |
| Samsung Internet | 19 (November 2022) |
| Opera | 93 (November 2022) |
On iOS and iPadOS, every browser, in-app browser and home screen web app uses Safari's engine: the Safari version applies. Other browsers are supported when they're built on a supported version of Chrome, Firefox or Safari.
The oldest supported versions are the ones that were current four years before a release. They only change in minor releases (0.x.0), never in patch releases, and the changelog says when they do.
Exceptions
Silk uses a few browser features that are newer than the versions above. In a supported browser without one of them, Silk still works: sheets present, travel, swipe and dismiss, and keep their focus management and accessibility. Only the behavior listed below is missing.
Page scrolling settings in Firefox 107 to 120
When a <Scroll.View> has pageScroll set to true and nativePageScrollReplacement computes to false, the page doesn't take this Scroll's scrollGestureOvershoot, scrollAnimationSettings, scrollAnchoring and scrollSnapType settings.
React
Silk supports React 17, 18 and 19, with react-dom. Its tests run on each of them.
Silk renders on the server, with server-side rendering and static generation, and hydrates on the client. Its components are client components: in the Next.js App Router, a file that renders them starts with "use client".
Frameworks and bundlers
Silk works with React frameworks such as Next.js, with the App Router or the Pages Router, and with maintained versions of the popular bundlers, such as Vite, webpack 5, Turbopack, Rspack and Parcel. Silk's own website and examples use Next.js, and its tests use Vite.
The package has an ES module and a CommonJS build, and its stylesheets are imported from the paths in its exports (see Getting Started). A bundler needs to support package exports and the syntax of the supported browsers above, such as optional chaining (?.) and nullish coalescing (??). webpack 4 supports neither: use webpack 5. Silk includes no polyfills.