FL

Flags

flags

Flags SDK by Vercel - The feature flags toolkit for Next.js and SvelteKit

Next.js Libraries
feature flags
Next.js
react
toolbar
overrides
SvelteKit
flags
Next.js Libraries
javascript
npm
Stars
621
Weekly
811k
Open issues
35
Bundle
~25 kB

Installation

npm install flags

Code example

// app/page.tsx
import { Flags } from "flags";

export default function Page() {
  return (
    <main>
      <Flags />
    </main>
  );
}

Pros & cons

Pros

  • Actively maintained by Dominik Ferber
  • 811k weekly downloads. Battle tested
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Not supported in React Native
  • 35 open issues on GitHub

FAQs

Alternatives & similar libraries