zudo-doc

Type to search...

to open search from anywhere

EN/JA/DE

Components

CreatedMar 11, 2026UpdatedMar 11, 2026Takeshi Takatsudo

Available components for use in MDX documentation files.

All components listed here are available globally in MDX files β€” no imports needed.

Admonitions

Admonitions are callout blocks for highlighting important information. Each type has a distinct color and a default title that can be overridden with the title prop.

Note

πŸ“ Note

This is a note admonition β€” use it for general information.

πŸ“ Custom Title

You can provide a custom title using the title prop.

Tip

πŸ’‘ Tip

This is a tip β€” use it for helpful suggestions and best practices.

πŸ’‘ Pro Tip

A tip with a custom title.

Info

ℹ️ Info

This is an info block β€” use it for additional context or background information.

ℹ️ Did You Know?

An info block with a custom title.

Warning

⚠️ Warning

This is a warning β€” use it to flag potential issues or things to watch out for.

⚠️ Deprecation Notice

A warning with a custom title.

Danger

🚨 Danger

This is a danger alert β€” use it for critical warnings about data loss or breaking changes.

🚨 Breaking Change

A danger alert with a custom title.

Admonition Syntax

<Note>
Default note with auto-generated title.
</Note>

<Warning title="Be Careful">
Warning with a custom title.
</Warning>

Color Reference

TypePalette SlotTypical Color
Notep4Blue
Tipp2Green
Infop6Cyan
Warningp3Yellow
Dangerp1Red

Tabs

Use <Tabs> and <TabItem> to create tabbed content panels. Useful for showing code in multiple languages or platform-specific instructions.

Syntax

<Tabs>
  <TabItem label="npm" value="npm" default>
    Content for npm tab.
  </TabItem>
  <TabItem label="pnpm" value="pnpm">
    Content for pnpm tab.
  </TabItem>
</Tabs>

Props

Tabs:

PropTypeDescription
groupIdstringSync tab selection across multiple <Tabs> with the same groupId (persisted in localStorage)

TabItem:

PropTypeDescription
labelstringTab button text (required)
valuestringUnique value identifier (defaults to label)
defaultbooleanSet this tab as the initially active one

Synced Tabs

Use groupId to sync tab selection across multiple tab groups on the same page:

<Tabs groupId="package-manager">
  <TabItem label="npm" default>npm install</TabItem>
  <TabItem label="pnpm">pnpm add</TabItem>
</Tabs>

<!-- This group syncs with the one above -->
<Tabs groupId="package-manager">
  <TabItem label="npm" default>npm run build</TabItem>
  <TabItem label="pnpm">pnpm build</TabItem>
</Tabs>

Details (Collapsible)

Use <Details> for collapsible content sections:

Click to expand

This content is hidden by default and revealed when the user clicks the summary.

You can include any MDX content inside, including code blocks and other components.

Syntax

<Details title="Optional Title">
Hidden content here.
</Details>
PropTypeDefaultDescription
titlestring"Details"The clickable summary text

Math Equations

When math is enabled in settings (default: true), you can render mathematical equations using KaTeX.

Inline Math

Use single dollar signs for inline math: $E = mc^2$ renders as E=mc2E = mc^2.

Block Math

Use double dollar signs for display math:

βˆ«βˆ’βˆžβˆžeβˆ’x2dx=Ο€\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}

Syntax

Inline: $E = mc^2$

Block:
$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

You can also use fenced code blocks with the math language:

```math
\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}
```

Mermaid Diagrams

Use fenced code blocks with the mermaid language to render diagrams. Mermaid is loaded on-demand β€” pages without mermaid blocks incur no overhead.

Flowchart

graph LR A[Start] --> B{Decision} B -->|Yes| C[Action] B -->|No| D[Other Action] C --> E[End] D --> E

Sequence Diagram

sequenceDiagram participant User participant App participant API User->>App: Click button App->>API: Fetch data API-->>App: JSON response App-->>User: Render result

Syntax

```mermaid
graph TD
  A --> B
  B --> C
```

See the Mermaid documentation for all supported diagram types.

Typography

The following standard Markdown/MDX elements are styled through the design token system.

Headings

Headings from h2 to h4 appear in the table of contents on the right sidebar.

Text Formatting

This is a regular paragraph. You can use bold text, italic text, and strikethrough text. You can also combine bold and italic together.

Inline Code

Use backticks for inline code: const x = 42 or pnpm dev.

Code Blocks

Fenced code blocks use Shiki for syntax highlighting with the active color scheme’s theme.

function greet(name: string): string {
  return `Hello, ${name}!`;
}
.container {
  display: flex;
  gap: 1rem;
  align-items: center;
}
---
title: Example Page
sidebar_position: 1
---

Content goes here with **Markdown** support.

Unordered Lists

  • First item
  • Second item
    • Nested item A
    • Nested item B
  • Third item

Ordered Lists

  1. First step
  2. Second step
    1. Sub-step A
    2. Sub-step B
  3. Third step

Blockquotes

This is a blockquote. It can contain formatted text and multiple paragraphs.

Second paragraph in the same blockquote.

Tables

FeatureStatusNotes
MDX SupportActiveEnabled by default
AdmonitionsActive5 types available
Code HighlightActiveShiki with theme support
i18nActiveEnglish and Japanese

Horizontal Rules

Content above the rule.


Content below the rule.