Write

Components

Every component you can use in a page.

These components work in every .mdx page without an import.

Callout

<Callout type="warning" title="Optional title">Text</Callout>

Cards

<CardGroup>
  <Card title="Title" href="/slug" icon="rocket">Text</Card>
</CardGroup>

Steps

  1. First step

    One action in each step.
  2. Second step

    Steps can hold code blocks and images.

Tabs

npm install
pnpm install

Tabs takes labels separated by |. Each direct child is one panel. Add plain for a row of product images.

Accordion

Select to open

Use an accordion for detail that most readers can skip.

Param

limitnumberquery

The number of results. The default is 20.

Update

v1.2.0

A release

One line for each change.

Diagram, Screenshot and Clip

<Diagram name="docs-loop" alt="What the diagram shows" caption="Optional caption" />
<Screenshot name="settings" alt="What the image shows" />
<Clip name="create-item" alt="What the clip shows" />

Refer to Diagrams and Screenshots and clips.