Introduction
Thanks to Code Atlas's support for MDX, you can create your own custom components and use them directly within your MDX files. Code Atlas imposes very few restrictions on this.
In addition, we provide a wide range of built-in components for you to use:
Arrange related content in a responsive card grid, with titles, optional icons, and rich content.
Present release notes with dates, titles, tags, and Markdown content. Sort entries by date or preserve their authored order.
Turn code fences into highlighted examples with filenames, line numbers, highlighted lines, and a copy button.
Compare code before and after a change, with added and removed lines and their original line numbers.
Group related code examples into tabs so readers can switch between languages, files, or implementations.
Organize common questions into expandable answers, with an optional question open by default.
Explain a project's directory structure with expandable folders, file icons, and nested paths.
Highlight notes, tips, and warnings. Compose a title and rich content, with optional collapsing.
Display captioned images with click-to-expand previews, Ctrl + scroll zoom, and dragging to inspect details. Markdown images receive the same preview automatically.
Render diagrams from Mermaid source, including flowcharts and sequence diagrams. Mermaid code fences also use this renderer.
Show installation commands for npm, pnpm, Yarn, and Bun, with package-manager switching and command copying.
Display a live component example alongside its authored MDX source. Requires the experimental components-in-MDX option.
Document component APIs in a table of property names, types, default values, and descriptions. Each Prop defines one row inside Props.
Mark a component's maturity and version milestones, including when it was introduced, deprecated, or stopped being supported.
Break tutorials and setup instructions into steps, with labels, icons, and rich content for each stage.
Frame a block of content with a consistent border and background, plus an optional name and description in its header.
Present alternative content in named tabs, with optional icons for different platforms, workflows, or examples.
Display tags using configured colors. Document frontmatter renders these automatically; import Tags in React or register it explicitly for custom MDX usage.
Play local videos and remote MP4 URLs with custom playback, seeking, volume, speed, and fullscreen controls.
You can also create and register your own components. For page and layout components, see Layouts and Pages.

