docs/_snippets/checkbox-story-grouped.md
import type { Meta, StoryObj } from '@storybook/angular';
import { Checkbox } from './checkbox.component';
const meta: Meta<Checkbox> = {
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
};
export default meta;
import preview from '../.storybook/preview';
import { Checkbox } from './checkbox.component';
const meta = preview.meta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
<script module>
import { defineMeta } from '@storybook/addon-svelte-csf';
import Checkbox from './Checkbox.svelte';
const { Story } = defineMeta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
</script>
import Checkbox from './Checkbox.svelte';
export default {
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
};
import { Checkbox } from './Checkbox';
export default {
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
};
<script module>
import { defineMeta } from '@storybook/addon-svelte-csf';
import Checkbox from './Checkbox.svelte';
const { Story } = defineMeta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
</script>
// Replace your-framework with svelte-vite or sveltekit
import type { Meta } from '@storybook/your-framework';
import Checkbox from './Checkbox.svelte';
const meta = {
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
} satisfies Meta<typeof Checkbox>;
export default meta;
// Replace your-framework with the framework you are using, e.g. react-vite, nextjs, vue3-vite, etc.
import type { Meta } from '@storybook/your-framework';
import { Checkbox } from './Checkbox';
const meta = {
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
} satisfies Meta<typeof Checkbox>;
export default meta;
export default {
title: 'Design System/Atoms/Checkbox',
component: 'demo-checkbox',
};
import type { Meta } from '@storybook/web-components-vite';
const meta: Meta = {
title: 'Design System/Atoms/Checkbox',
component: 'demo-checkbox',
};
export default meta;
import preview from '../.storybook/preview';
const meta = preview.meta({
title: 'Design System/Atoms/Checkbox',
component: 'demo-checkbox',
});
import preview from '../.storybook/preview';
const meta = preview.meta({
title: 'Design System/Atoms/Checkbox',
component: 'demo-checkbox',
});
import preview from '../.storybook/preview';
import { Checkbox } from './Checkbox';
const meta = preview.meta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
import preview from '../.storybook/preview';
import { Checkbox } from './Checkbox';
const meta = preview.meta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
import preview from '../.storybook/preview';
import Checkbox from './Checkbox.vue';
const meta = preview.meta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});
import preview from '../.storybook/preview';
import Checkbox from './Checkbox.vue';
const meta = preview.meta({
/* ๐ The title prop is optional.
* See https://storybook.js.org/docs/configure/#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Design System/Atoms/Checkbox',
component: Checkbox,
});