A sticky top bar with logo, a Products disclosure menu (two-column panel with icons, descriptions and a footer link), plain links, sign-in and a primary action. The menu opens on click or Arrow Down, moves with arrow keys, and closes on Escape, outside press or when focus leaves. Below the large breakpoint a menu button opens a full-height sheet: a modal dialog that takes focus, keeps Tab inside, closes on Escape or the backdrop, locks page scroll and hands focus back.
Components
Components
SSR-safe React hooks for CSS media queries, built on useSyncExternalStore so they hydrate without mismatches and follow live changes. useMediaQuery takes any query and a server default, usePrefersReducedMotion reads the motion preference, and useBreakpoint returns the current Tailwind breakpoint. Falls back to the old listener API on older Safari. The preview shows the live breakpoint on a ruler and readouts for motion, colour scheme, contrast, hover, pointer and orientation.
API snippet
FreeAn interactive code sample panel for API docs. Language tabs (cURL, JavaScript, Python, Go or your own) with a sliding underline sit above the code, which crossfades when you switch. A small parameter form beside the code, or behind a 'Parameters' disclosure in narrow containers, edits values that are templated into every language live; changed lines get a left accent bar and the changed tokens flash briefly, with a screen-reader note that the line was updated. A built-in tokenizer colours strings, numbers, keywords, keys and comments from the chart tokens, so it follows the theme without a highlighting dependency. An optional Response tab shows a templated sample body with a status pill. Copy morphs its icon into a check and announces 'Copied', the chosen language can be remembered in localStorage, and the tabs are a proper keyboard tablist.
