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 topicsWalk-throughWalk through the SDK
TYPESCRIPTlib/muff.ts
1import { Mufflermen } from "@mufflermen/sdk"23export const muff = new Mufflermen({4 workshopId: "wsh_oak_flats",5 apiKey: process.env.MUFFLERMEN_API_KEY,6})
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.