examples/blog/app/posts/(with-comments)/nextra-components/page.mdx
import { Bleed, Callout, Cards, FileTree, Steps, Tabs } from 'nextra/components' import { CopyIcon, GitHubIcon, MenuIcon } from 'nextra/icons'
<Callout><Callout>This is a default callout.</Callout>
<Callout type="error">This is an error callout.</Callout>
<Callout type="info">This is an info callout. 1</Callout>
<Callout type="warning">This is a warning callout.</Callout>
<Callout emoji="🚀">This is a callout with a custom emoji.</Callout>
<Steps>Content for step 1.
Contents for step 2.
</Steps> <Steps> ## Test Run pnpm test <Steps> ### nextra:test### nextra-theme-docs:test
<Steps>
#### more
#### more more
#### more more more
</Steps>
### nextra-theme-blog:test
<Tabs><Tabs items={['pnpm', 'npm', 'yarn']}> <Tabs.Tab>pnpm: Fast, disk space efficient package manager.</Tabs.Tab> <Tabs.Tab>npm is a package manager for the JavaScript programming language.</Tabs.Tab> <Tabs.Tab>Yarn is a software packaging system.</Tabs.Tab> </Tabs>
<FileTree><Cards><details> and <summary><Bleed><Bleed></Bleed>
[!NOTE]
Useful information that users should know, even when skimming content.
[!TIP]
Helpful advice for doing things better or more easily.
[!IMPORTANT]
Key information users need to know to achieve their goal.
[!WARNING]
Urgent info that needs immediate user attention to avoid problems.
[!CAUTION]
Advises about risks or negative outcomes of certain actions.