This is what an AI/RAG pipeline sees when it indexes this page — the same output served at https://camelmind-docs.vercel.app/api/llms/getting-started/mdx-components.Back to doc

Rendered doc

Use MDX Components

Build richer documentation with CamelMind's built-in MDX components. No imports required.

CamelMind includes built-in MDX components to make your documentation easier to read and navigate. Every component is available in any .mdx file—no imports or setup required.


Add Callout components

Use the Callout component to highlight notes, tips, warnings, important information, critical warnings, or success messages.

CamelMind provides the following Callout types:

mdx
<Callout type="note">A general note.</Callout>

<Callout type="tip">A helpful tip.</Callout>

<Callout type="warning">
Something to watch out for.
</Callout>

<Callout type="important">
Pay close attention.
</Callout>

<Callout type="danger">
A critical warning.
</Callout>

<Callout type="info">
This is an informational callout.
</Callout>

<Callout type="success">
Configuration saved successfully.
</Callout>
Note
A general note.
Tip
A helpful tip.
Warning
Something to watch out for.
Important
Pay close attention.
Danger
A critical warning.
Info

This is an informational callout.

Success
Configuration saved successfully.

Customize a Callout title

Use the title prop to set a custom title for a Callout instead of its default heading.

mdx
<Callout
  type="warning"
  title="Rate limits apply"
>
The API accepts up to 1,000 requests per minute.
</Callout>
Rate limits apply

The API accepts up to 1,000 requests per minute.

Customize a Callout icon

Use the icon prop to replace the default Callout icon with a Lucide icon.

mdx
<Callout type="tip" icon="rocket">
Ready to launch.
</Callout>
Tip

Ready to launch.


Add Steps components

Use the Steps component to present installation instructions, tutorials, and other sequential workflows as a series of ordered steps.

mdx
<Steps>
  <Step n={1} title="Install">
    Run the installer.
  </Step>

  <Step n={2} title="Start">
    Launch the development server.
  </Step>
</Steps>

rendered as:

1

Install

Run the installer.

2

Start

Launch the development server.


Add tabs components

Use tabs to organize related content that readers can switch between, such as instructions for different operating systems, languages, or configuration options.

mdx
  === "Tab 1"

  Camels have remarkable desert adaptations. A hump stores up to 80 pounds of fat for energy rather than water.

  === "Tab 2"
  Camels are surprisingly fast, able to run up to 40 miles per hour. They can carry up to 900 pounds for 25 miles a day.

  ===

rendered as:

Camels have remarkable desert adaptations. A hump stores up to 80 pounds of fat for energy rather than water.


Add Details components

Use Details to hide optional or advanced information behind a collapsible section.

mdx
<Details summary="Advanced configuration">

These settings are only needed for enterprise deployments.

</Details>

rendered as:

Advanced configuration

These settings are only needed for enterprise deployments.

Anchor-linkable details

Give a Details component an id to create a shareable link.

mdx
<Details
  id="rate-limits"
  summary="Rate limits"
>

Content...

</Details>

rendered as:

Rate limits

Content...


Display code blocks

Use standard Markdown code fences to display syntax-highlighted code with built-in copy, line-wrapping, and dark-mode support.

typescript
function greet(name: string) {
  return `Hello ${name}`;
}

Control AI-visible content with LLMOnly and LLMIgnore

Use LLMOnly and LLMIgnore to control whether specific documentation content is visible to AI systems through llms.txt.

Content inside LLMOnly is included in llms.txt but hidden from the rendered documentation.

mdx
<LLMIgnore>

Internal implementation details.

</LLMIgnore>

See llms.txt for more information.

What the AI sees

1> For a complete documentation index, see /llms.txt. To read any public page as Markdown, append .md to the URL.
2 
3CamelMind includes built-in MDX components to make your documentation easier to read and navigate. Every component is available in any `.mdx` file—no imports or setup required.
4 
5---
6 
7## Add Callout components
8 
9Use the `Callout` component to highlight notes, tips, warnings, important information, critical warnings, or success messages.
10 
11CamelMind provides the following Callout types:
12 
13```mdx
14<Callout type="note">A general note.</Callout>
15 
16<Callout type="tip">A helpful tip.</Callout>
17 
18<Callout type="warning">
19Something to watch out for.
20</Callout>
21 
22<Callout type="important">
23Pay close attention.
24</Callout>
25 
26<Callout type="danger">
27A critical warning.
28</Callout>
29 
30<Callout type="info">
31This is an informational callout.
32</Callout>
33 
34<Callout type="success">
35Configuration saved successfully.
36</Callout>
37```
38 
39<Callout type="note">A general note.</Callout>
40 
41<Callout type="tip">A helpful tip.</Callout>
42 
43<Callout type="warning">Something to watch out for.</Callout>
44 
45<Callout type="important">Pay close attention.</Callout>
46 
47<Callout type="danger">A critical warning.</Callout>
48 
49<Callout type="info">
50This is an informational callout.
51</Callout>
52 
53<Callout type="success">Configuration saved successfully.</Callout>
54 
55### Customize a Callout title
56 
57Use the `title` prop to set a custom title for a Callout instead of its default heading.
58 
59```mdx
60<Callout
61 type="warning"
62 title="Rate limits apply"
63>
64The API accepts up to 1,000 requests per minute.
65</Callout>
66```
67 
68<Callout
69 type="warning"
70 title="Rate limits apply"
71>
72The API accepts up to 1,000 requests per minute.
73</Callout>
74 
75### Customize a Callout icon
76 
77Use the `icon` prop to replace the default Callout icon with a [Lucide](https://lucide.dev/icons/) icon.
78 
79```mdx
80<Callout type="tip" icon="rocket">
81Ready to launch.
82</Callout>
83```
84 
85<Callout type="tip" icon="rocket">
86Ready to launch.
87</Callout>
88 
89---
90 
91## Add Steps components
92 
93Use the `Steps` component to present installation instructions, tutorials, and other sequential workflows as a series of ordered steps.
94 
95```mdx
96<Steps>
97 <Step n={1} title="Install">
98 Run the installer.
99 </Step>
100 
101 <Step n={2} title="Start">
102 Launch the development server.
103 </Step>
104</Steps>
105 
106```
107rendered as:
108 
109<Steps>
110 <Step n={1} title="Install">
111 Run the installer.
112 </Step>
113 
114 <Step n={2} title="Start">
115 Launch the development server.
116 </Step>
117</Steps>
118 
119---
120 
121## Add tabs components
122 
123Use tabs to organize related content that readers can switch between, such as instructions for different operating systems, languages, or configuration options.
124 
125```mdx
126 === "Tab 1"
127 
128 Camels have remarkable desert adaptations. A hump stores up to 80 pounds of fat for energy rather than water.
129 
130 === "Tab 2"
131 Camels are surprisingly fast, able to run up to 40 miles per hour. They can carry up to 900 pounds for 25 miles a day.
132 
133 ===
134```
135rendered as:
136 
137=== "Tab 1"
138 
139Camels have remarkable desert adaptations. A hump stores up to 80 pounds of fat for energy rather than water.
140 
141=== "Tab 2"
142Camels are surprisingly fast, able to run up to 40 miles per hour. They can carry up to 900 pounds for 25 miles a day.
143 
144===
145 
146---
147 
148## Add Details components
149 
150Use `Details` to hide optional or advanced information behind a collapsible section.
151 
152```mdx
153<Details summary="Advanced configuration">
154 
155These settings are only needed for enterprise deployments.
156 
157</Details>
158```
159rendered as:
160 
161<Details summary="Advanced configuration">
162 
163These settings are only needed for enterprise deployments.
164 
165</Details>
166 
167### Anchor-linkable details
168 
169Give a `Details` component an `id` to create a shareable link.
170 
171```mdx
172<Details
173 id="rate-limits"
174 summary="Rate limits"
175>
176 
177Content...
178 
179</Details>
180```
181 
182rendered as:
183 
184<Details
185 id="rate-limits"
186 summary="Rate limits"
187>
188 
189Content...
190 
191</Details>
192 
193---
194 
195## Display code blocks
196 
197Use standard Markdown code fences to display syntax-highlighted code with built-in copy, line-wrapping, and dark-mode support.
198 
199```typescript
200function greet(name: string) {
201 return `Hello ${name}`;
202}
203```
204 
205---
206 
207## Control AI-visible content with LLMOnly and LLMIgnore
208 
209Use `LLMOnly` and `LLMIgnore` to control whether specific documentation content is visible to AI systems through `llms.txt`.
210 
211<Tabs>
212<Tab label="LLMOnly">
213 
214Content inside `LLMOnly` is included in `llms.txt` but hidden from the rendered documentation.
215 
216```mdx
217 
218```
219</Tab>
220<Tab label="LLMIgnore">
221 
222Content inside `LLMIgnore` is visible to readers but omitted from `llms.txt`.
223 
224```mdx
225 
226```
227</Tab>
228</Tabs>
229 
230See [llms.txt](/features/llms-txt) for more information.

Issues (1)

Notes (1)