Examples
This section shows common use cases for feature flags.
Dashboard Pages
Using feature flags on dynamic pages.
Marketing Pages
Using feature flags on static pages.
Concept examples
These concept pages are self-documenting examples. Each of these pages is built using the concept it describes, so you can inspect the source code to see how they work.
Identify
Using evaluation contexts.
Dedupe
Avoiding redundant work.
Precompute
Using feature flags on static pages.
Adapters
Integrate any flag provider, or even your custom setup.
More examples
Pages Router
Shows how to use feature flags in Pages Router.
Using feature flags in Edge Middleware
Shows how to use feature flags with a static page at the edge.
Suspense Fallbacks
Switch between suspense fallbacks to match skeletons with predicted state.