The fixed vocabulary you can use in .md and .mdx pages.
i
NoteRules for every component
Block-level only: blank line before and after each tag and around its content. Props are plain string attributes. Names are case-sensitive. Nesting stops at six levels.
<Callout>
<Steps>
<Step>
<Cards>
<Card>
<Tabs>
<Tab>
<CodeGroup>
<Hero>
<Action>
<Media>
<Install>
<StartHere>
<Entry>
Callout
type is note, tip, warning or danger; title is optional. Callouts cannot contain callouts.
docs/x.mdx
<Callout type="warning" title="Keep keys out of the browser">API keys are secrets. Use them from CI and servers only.</Callout>
Steps
Only Step children, each with a title. Steps can hold code and callouts.
docs/x.mdx
<Steps><Step title="Create an inbox">Every test gets its own address.</Step></Steps>
Cards
docs/x.mdx
<Cards><Card title="Quickstart" href="./quickstart" description="First email in five minutes." /><Card title="API reference" href="/api" /></Cards>
Tabs
Unique labels. Without JavaScript every panel renders in order; with it, an accessible tab list. Tabs cannot nest.