Dev experience · 10

Tabbed code switcher

Generic topic-based code switcher — Initialize / Authenticate / First request — distinct from the language switcher.

Production answer

Tabbed code switcher is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Tabbed code switcher states
Generative search brief

Tabbed code switcher: Generic topic-based code switcher — Initialize / Authenticate / First request — distinct from the language switcher.

quickstart walk-through — three topics
Walk-throughWalk through the SDK
TYPESCRIPTlib/muff.ts
import { Mufflermen } from "@mufflermen/sdk" export const muff = new Mufflermen({  workshopId: "wsh_oak_flats",  apiKey: process.env.MUFFLERMEN_API_KEY,})
Behaviour

Tabs are labelled by topic (a concept your team chooses) rather than language. Active state is held inside the component — once a user picks First request they stay there until they explicitly pick a different topic. Pair with the lang-switcher when both topic + language matter.