# Components

> Every component you can use in a page.

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

## Callout

<Callout type="note" title="Note">Extra facts the reader may need.</Callout>
<Callout type="tip">A faster or better way to do something.</Callout>
<Callout type="warning">Put a warning before the step it protects.</Callout>

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

## Cards

<CardGroup>
  <Card title="With an icon" href="/setup" icon="settings">Icons are Lucide names.</Card>
  <Card title="Another card" href="/skills" icon="sparkles">Cards link to other pages.</Card>
</CardGroup>

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

## Steps

<Steps>
  <Step title="First step">One action in each step.</Step>
  <Step title="Second step">Steps can hold code blocks and images.</Step>
</Steps>

## Tabs

<Tabs labels="npm|pnpm">
  ```bash
  npm install
  ```
  ```bash
  pnpm install
  ```
</Tabs>

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

## Accordion

<Accordion title="Select to open">
  Use an accordion for detail that most readers can skip.
</Accordion>

## Param

<Param name="limit" type="number" location="query">The number of results. The default is `20`.</Param>

## Update

<Update label="v1.2.0" title="A release">One line for each change.</Update>

## Diagram, Screenshot and Clip

```mdx
<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](/diagrams) and [Screenshots and clips](/screenshots).
