import { Meta, Canvas } from '@storybook/blocks'; import * as SEOStories from './SEO.stories.svelte'; # SEO The `SEO` component adds essential metadata to pages. ```svelte ``` ## Using with ArchieML docs With the Graphics Kit, you'll likely get many of your text values from an ArchieML doc... ```yaml # ArchieML doc slug: ROOT-SLUG/WILD seoTitle: Page title for search seoDescription: Page description for search shareTitle: Page title for social media shareDescription: Page description for social media shareImgPath: images/reuters-graphics.jpg shareImgAlt: Alt text for share image. ``` ... which you'll pass to the `SEO` component. ```svelte ``` > **Note:** For _reasons_, we can't document the value of `VITE_BASE_URL` below. It's `import` + `.meta.env.BASE_URL` (concatenate all that) in the Graphics Kit and other Vite-based rigs. ```