MDX Component Suite
Complete gallery of interactive, prebuilt MDX components available in OpenKB.
MDX Component Suite
OpenKB provides a comprehensive library of built-in components that are automatically available in all .mdx files without requiring import statements.
Visual system
OpenKB sites start from an intentional reading environment, then let each project tune the parts that change the experience. Add this to docs.json:
{
"colors": { "primary": "#0f766e" },
"style": {
"preset": "atlas",
"typography": "sans",
"density": "comfortable",
"radius": "soft",
"layout": "standard",
"colors": {
"background": "#fcfcfb",
"backgroundSubtle": "#f5f5f2",
"text": "#1c1c1a"
}
}
}
Choose terminal for dense API or operations docs, or notebook for warmer explanatory guides. Use compact density and wide layout for reference material; the remaining tokens are optional overrides rather than a second theme API.
Cards and Card Groups
Interactive Card
Clickable card container supporting Lucide icons, hover elevation, and custom links.
Documentation Link
Structured container for organizing links across documentation categories.
Synchronized Tabs
interface UserProfile {
id: string;
name: string;
email: string;
}class UserProfile:
id: str
name: str
email: strtype UserProfile struct {
ID string `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
}Callouts & Semantic Alerts
Informational Note
This is a standard informational callout used for background context.
Pro Tip
Use keyboard shortcut Cmd + K (or Ctrl + K) to open static instant search.
Action Required
Ensure your environment variables are configured before running build.
Critical Warning
Do not expose private API keys in client-side bundles or public repositories.