Feature Flags for the
Modern Stack
Ship features with confidence using edge-first feature flags. Built for Next.js, RSC, and TypeScript. Evaluate flags in under 5ms.
Ship features with confidence using edge-first feature flags. Built for Next.js, RSC, and TypeScript. Evaluate flags in under 5ms.
Seamlessly Integrated With
No complex configuration. Just install the SDK and start evaluating flags immediately.
Drop our lightweight package into your project. Support for all major package managers.
$ npm install @switchflag/sdkConnect to your environment using your secure API key.
import { createClient } from '@switchflag/sdk'const client = createClient({ apiKey: 'sk_live_...' })Wrap your features in a simple conditional and ship instantly.
const flag = await client.getFlag('new-ui')if (flag.value) { // show feature}Global edge network ensures your flags evaluate instantly, preventing content flash or layout shifts.
Generated types based on your dashboard configuration. Catch missing flags at build time, not runtime.
Granular permissions, audit logs, and environment scoping. Built for scaling engineering teams.
Kill switch functionality allows you to disable buggy features instantly without redeploying code.
Run experiments on specific user segments. Analyze data and roll out the winning variant.
Target flags based on email, region, subscription tier, or any custom attribute you define.
Join thousands of developers managing features, not hotfixes.
Start Your Free Project