```md
<!-- Checkbox.stories.mdx -->

import { Canvas, Meta, Story } from '@storybook/addon-docs';

import Checkbox from './Checkbox.vue';

<Meta title="MDX/Checkbox" component={Checkbox} />

<!--
 👇 Render functions are a framework specific feature to allow you control on how the component renders.
  See https://storybook.js.org/docs/7.0/vue/api/csf
  to learn how to use render functions.
-->

# Checkbox

With `MDX`, we can define a story for `Checkbox` right in the middle of our Markdown documentation.

<Canvas>
  <Story 
  name="all checkboxes"
  render={() => ({
    components: { Checkbox },
    template: `
      <form>
        <Checkbox id="Unchecked" label="Unchecked" />
        <Checkbox id="Checked" label="Checked" checked />
        <Checkbox appearance="secondary" id="second" label="Secondary" checked />
      </form>`,
  })} />
</Canvas>
```