```md
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import Badge from './Badge.vue';
import Icon from './Icon.vue';
# Badge
Let's define a story for our `Badge` component:
{() => {
return {
components: { Badge },
template: `Positive`,
};
}}
We can drop it in a `Canvas` to get a code snippet:
We can even preview multiple stories in a block. This
gets rendered as a group, but defines individual stories
with unique URLs and isolated snapshot tests.
```