Track conversion
Follow visits through signup and activation.
Visits → Signups → Activations
Real components, shared styles. These examples use the same implementations as the site and documentation.
The UI library owns appearance and structure. Content comes from props; the examples and site adapters own event handlers, navigation and state.
Use Tab to inspect focus, arrow keys to switch tabs, and the copy controls to check feedback. Resize to compare phone and desktop layouts.
Example links and actions stay on this page. Tabs, disclosures and copy controls remain interactive.
--paper--surface--surface-muted--ink--muted--line--accent--darkGeist for interface and reading text. Geist Mono for code. Colors, page boundaries and surface tokens live in the root stylesheet.
Primary actions use a solid fill. Secondary actions keep a transparent fill at rest. Header controls have a 44 px hit area around a 36 px visible capsule.
Inline links stay in the reading flow: code blocks and documentation. The underline, hover and focus treatment come from TextLink.
Card actions fill the content width at every viewport size. Centered 17 px semibold text, a 50 px minimum height and the shared 8 px panel radius keep the label proportionate to the surface. The containing card supplies the outer inset. Long labels wrap and increase the height.
A short title and caller-supplied actions share one brand surface. The site adapter supplies signup and booking; these examples stay in the gallery.
The site and documentation logos share inline artwork and the page’s Geist font. Their dimensions and lettering stay consistent across headers, phone menus and the footer.
Site links use a faint capsule on hover. Section links retain primary ink at rest, on hover and when selected, with a pale-gray capsule for the current section. Both share typography, spacing and hit areas.
The surrounding site header uses HeaderBar, HeaderRow and HeaderBrand. Fixed positioning, matching flow space, frosted background and brand alignment share one implementation. The caller chooses the divider mode and responsive visibility.
Icon buttons share 44 px targets and 18 px icons. MenuDialog and MenuHeader supply the full-screen surface and scroll divider; the caller owns dialog state, focus, scroll tracking and content.
Editorial headlines wrap naturally, with an optional muted eyebrow directly above them. Category pills and publication dates align in one quiet row below the title. Dates and reading times stay intact when the row wraps.
Three ScopeDB Design Principles · Part 2
The blog uses one article per row. One or more quiet category labels lead the optional eyebrow, topic heading, three-line excerpt and publication details. The heading and metadata use the same primitives as article pages. The cover supplies a short visual theme; the text heading names the article. Below 761 px the image and text stack.

On Raft, humans and AI agents build and debug software in the same rooms. See how Raft uses ScopeDB as a shared source of evidence for high-concurrency agent traces, release readbacks, and product analytics.

Three ScopeDB Design Principles · Part 2
Keep stable event fields in typed columns, explore changing attributes in objects, and promote fields as their meaning becomes shared across applications.
Screenshots use the reading width up to their original pixel width, with a caption below and no frame or click action. Diagrams use a compact frame and a link to the full-size image.



Default text tabs, equal-width language tabs, and responsive conversation tabs share keyboard behavior. Conversation choices use two columns below 1024 px, with every label visible and wrapping as needed, then a descriptive sidebar on desktop. Switching tabs preserves panel state.
SELECT 1 AS ready;{"ready": 1}const ready = await client.query("SELECT 1 AS ready");ready, err := client.Query(ctx, "SELECT 1 AS ready")let ready = client.query("SELECT 1 AS ready").await?;Simple Icons language marks keep the same ink color across states and preserve their proportions inside centered 44 × 24 px slots. A faint background indicates hover and selection. Wide marks fit the slot instead of matching the height of square marks. Equal-width tabs retain 44 px targets, accessible names and keyboard focus.
Hover or focus reveals copy on desktop; touch devices keep it visible. Successful copies announce feedback. If clipboard access fails, the source remains selectable with visible recovery feedback.
Inline source uses the same neutral treatment: SELECT 1.
Install the ScopeDB skill from https://github.com/scopedb/scopedb-skills and help me get started.const rows = await client.query("SELECT 1 AS ready");
console.log(rows);SELECT timestamp, event, service, region, status, request_id FROM events WHERE service = 'checkout' ORDER BY timestamp DESC LIMIT 100;SELECT 1 AS ready;Long examples preview eight lines with a compact Copy action. Copying includes the complete source; the bottom control expands it in place.
const response = await fetch("/api/events", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
service: "checkout",
name: "payment_succeeded",
order_id: "order-1001",
}),
});
if (!response.ok) {
throw new Error(`Import failed: ${response.status}`);
}
console.log(await response.json());The same code surface also accepts a different action. This example owns its wrapping toggle; the surface has no clipboard behavior.
SELECT timestamp, event, service, region, status, request_id FROM events ORDER BY timestamp DESC;Agent and Pricing share the page container, with 72 px above the content on desktop and 40 px on phones. Page titles use 48 / 32 px, section titles 28 / 24 px and item titles 24 / 20 px. Body text stays at 16 px with 1.7 line height. Equal columns stack below 1024 px.
Choose a starting point and follow the connection guide.
Use the same layout and type roles with different content. The page supplies its own actions and destinations.
Numbered steps compose PageHeader, ContentHeading and SplitSection. Steps and answers share one desktop text column. On smaller screens, numbers stay beside the headings while code and instructions use the full reading width. Content and actions come from the caller.
Follow these two steps to verify a connection.
SELECT 1 AS ready;Run the command in your own environment and check the returned value.
Use the environment configured for your workspace.
Titles, descriptions and figures are content slots. Different text does not create a different component.
Follow visits through signup and activation.
Visits → Signups → Activations
Trace the wait to logs and dependencies.
Request → Service → Dependency
Fictional examples. Callers supply identities, workflow descriptions and optional actions. These are editorial summaries, with no implied quotation or attribution. The containing page owns the grid.
CustomerCaption provides a quiet, centered label above a logo row. The strip variant pairs customer names with artwork; in an inline-size container of 600 px or less, marks sit above names. Optional markScale compensates for artwork padding within the same 32 px slot: the first strip example uses 1.25 to balance a mark with 10% inset padding.
Trusted by example teams
The team collects operational events and brings the relevant records together when a question spans several services.
Campaign data comes together for analysis across channels.
One neutral surface across articles and documentation. Meaning comes from the icon, an optional authored title, and the text.
Static and expandable FAQ entries share 16 px text and 1.7 line height. Questions use 500 weight and primary ink; answers use muted ink. Compact reading controls use 14 px text and 20 px line height.
Use an agent with web and terminal access. Read the setup guide.
The label and arrow retain their alignment, including when the label wraps.
Quiet rules and medium-weight headings distinguish columns. Prose wraps between words; inline code stays on one line. Overflow stays inside a keyboard-accessible region.
| Type | Description |
|---|---|
string | UTF-8 encoded string |
timestamp | Epoch nanoseconds |
| Argument | Type | Description |
|---|---|---|
n | int | Optional non-negative constant. If provided, selects the array-returning form. Must not be NULL. |
| Operator | Arity | Syntax | Description |
|---|---|---|---|
+ | binary | a + b | Adds two numeric expressions (a and b). |
/ | binary | a / b | Divides a by b, returning float. Nonzero values divided by zero produce a signed infinity; 0 / 0 produces NaN. |