Features / Bento

API block with language tabs

Developer-facing feature with switchable snippets

Live preview
Build a developer-focused feature block with Tailwind CSS in two columns. The left column holds a small "API first" label, a heading about shipping in an afternoon, a paragraph, three compact bullet rows with glyph tiles covering typed SDKs, idempotent writes and webhook replay, and a pair of links for the reference and the changelog. The right column is a dark code card: a header strip with three language tabs — cURL, TypeScript, Python — the active one in white on neutral-800, and a copy button on the right; the body is a pre block of monospaced code in light grey; a footer strip shows a muted response line with a green status dot. Then add JavaScript that holds the three snippets in a map, renders the active one into the pre block, moves the active styling when a tab is clicked, and turns the copy button into a green "Copied" state for a second and a half after writing the current snippet to the clipboard.