diff --git a/src/dispatch/static/dispatch/.storybook/StoryWrapper.vue b/src/dispatch/static/dispatch/.storybook/StoryWrapper.vue
new file mode 100644
index 000000000000..a6628d10b6ae
--- /dev/null
+++ b/src/dispatch/static/dispatch/.storybook/StoryWrapper.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/dispatch/static/dispatch/.storybook/main.js b/src/dispatch/static/dispatch/.storybook/main.js
new file mode 100644
index 000000000000..dc21275b8f45
--- /dev/null
+++ b/src/dispatch/static/dispatch/.storybook/main.js
@@ -0,0 +1,18 @@
+/** @type { import('@storybook/vue3-vite').StorybookConfig } */
+const config = {
+ stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
+ addons: [
+ "@storybook/addon-links",
+ "@storybook/addon-essentials",
+ "@storybook/addon-interactions",
+ "storybook-addon-vuetify3",
+ ],
+ framework: {
+ name: "@storybook/vue3-vite",
+ options: {},
+ },
+ docs: {
+ autodocs: "tag",
+ },
+}
+export default config
diff --git a/src/dispatch/static/dispatch/.storybook/preview.js b/src/dispatch/static/dispatch/.storybook/preview.js
new file mode 100644
index 000000000000..fc71f526f15a
--- /dev/null
+++ b/src/dispatch/static/dispatch/.storybook/preview.js
@@ -0,0 +1,3 @@
+import { withVuetify } from "storybook-addon-vuetify3/dist/decorators"
+
+export const decorators = [withVuetify]
diff --git a/src/dispatch/static/dispatch/.storybook/withVuetifyTheme.decorator.js b/src/dispatch/static/dispatch/.storybook/withVuetifyTheme.decorator.js
new file mode 100644
index 000000000000..bb5560bdf88e
--- /dev/null
+++ b/src/dispatch/static/dispatch/.storybook/withVuetifyTheme.decorator.js
@@ -0,0 +1,18 @@
+// .storybook/withVeutifyTheme.decorator.js
+import { h } from "vue"
+import StoryWrapper from "./StoryWrapper.vue"
+
+export const withVuetifyTheme = (storyFn, context) => {
+ const story = storyFn()
+
+ return () => {
+ return h(
+ StoryWrapper,
+ {}, // Props for StoryWrapper
+ {
+ // Puts your story into StoryWrapper's "story" slot with your story args
+ story: () => h(story, { ...context.args }),
+ }
+ )
+ }
+}
diff --git a/src/dispatch/static/dispatch/src/stories/Button.stories.js b/src/dispatch/static/dispatch/src/stories/Button.stories.js
new file mode 100644
index 000000000000..9f43ad58ce83
--- /dev/null
+++ b/src/dispatch/static/dispatch/src/stories/Button.stories.js
@@ -0,0 +1,48 @@
+import MyButton from './Button.vue';
+
+// More on how to set up stories at: https://storybook.js.org/docs/vue/writing-stories/introduction
+export default {
+ title: 'Example/Button',
+ component: MyButton,
+ tags: ['autodocs'],
+ argTypes: {
+ backgroundColor: {
+ control: 'color',
+ },
+ onClick: {},
+ size: {
+ control: {
+ type: 'select',
+ },
+ options: ['small', 'medium', 'large'],
+ },
+ },
+};
+
+// More on writing stories with args: https://storybook.js.org/docs/vue/writing-stories/args
+export const Primary = {
+ args: {
+ primary: true,
+ label: 'Button',
+ },
+};
+
+export const Secondary = {
+ args: {
+ label: 'Button',
+ },
+};
+
+export const Large = {
+ args: {
+ size: 'large',
+ label: 'Button',
+ },
+};
+
+export const Small = {
+ args: {
+ size: 'small',
+ label: 'Button',
+ },
+};
diff --git a/src/dispatch/static/dispatch/src/stories/Button.vue b/src/dispatch/static/dispatch/src/stories/Button.vue
new file mode 100644
index 000000000000..0fcd60e8ba91
--- /dev/null
+++ b/src/dispatch/static/dispatch/src/stories/Button.vue
@@ -0,0 +1,52 @@
+
+ {{ label }}
+
+
+
diff --git a/src/dispatch/static/dispatch/src/stories/Configure.mdx b/src/dispatch/static/dispatch/src/stories/Configure.mdx
new file mode 100644
index 000000000000..91bda6fe9adc
--- /dev/null
+++ b/src/dispatch/static/dispatch/src/stories/Configure.mdx
@@ -0,0 +1,364 @@
+import { Meta } from "@storybook/blocks";
+
+import Github from "./assets/github.svg";
+import Discord from "./assets/discord.svg";
+import Youtube from "./assets/youtube.svg";
+import Tutorials from "./assets/tutorials.svg";
+import Styling from "./assets/styling.png";
+import Context from "./assets/context.png";
+import Assets from "./assets/assets.png";
+import Docs from "./assets/docs.png";
+import Share from "./assets/share.png";
+import FigmaPlugin from "./assets/figma-plugin.png";
+import Testing from "./assets/testing.png";
+import Accessibility from "./assets/accessibility.png";
+import Theming from "./assets/theming.png";
+import AddonLibrary from "./assets/addon-library.png";
+
+export const RightArrow = () =>
+
+
+
+
+
+ # Configure your project
+
+ Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.
+
+
+
+
+
Add styling and CSS
+
Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.
To link static files (like fonts) to your projects and stories, use the
+ `staticDirs` configuration option to specify folders to load when
+ starting Storybook.
+ # Do more with Storybook
+
+ Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.
+
+
+
+
+
+
+
Autodocs
+
Auto-generate living,
+ interactive reference documentation from your components and stories.
+ We recommend building UIs with a
+
+ component-driven
+
+ process starting with atomic components and ending with pages.
+
+
+ Render pages with mock data. This makes it easy to build and review page states without
+ needing to navigate to them in your app. Here are some handy patterns for managing page data
+ in Storybook:
+
+
+
+ Use a higher-level connected component. Storybook helps you compose such data from the
+ "args" of child component stories
+
+
+ Assemble data in the page component from your services. You can mock these services out
+ using Storybook.
+
+
+
+ Get a guided tutorial on component-driven development at
+ Storybook tutorials
+ . Read more in the
+ docs
+ .
+
+
+ Tip
+ Adjust the width of the canvas with the
+
+ Viewports addon in the toolbar
+