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

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

import { withDesign } from 'storybook-addon-designs';

import MyComponent from './MyComponent.svelte';

<Meta
  title="FigmaExample"
  component={MyComponent}
  decorators={[withDesign]}
/>

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

<Canvas>
  <Story
    name="Example"
     parameters={{
      design: {
        type: 'figma',
        url: 'https://www.figma.com/file/Sample-File',
      },
    }}
    render={() => ({
      Component: MyComponent,
      props: {}
    })} />
</Canvas>
```