```md
import { Meta, Story, Canvas } from '@storybook/addon-docs';
import { Badge } from './Badge.svelte';
export const Template = (args) => ({
Component: Badge,
props: args,
});
# Badge
Let's define a story for our `Badge` component:
{Template.bind({})}
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, which is great for review and testing.
```