Esc

    Layout slots

    Point a slot at your own .astro file. It receives the same props as the default.

    astro.config.mjs
    mines({
      title: 'My Docs',
      components: {
        Footer: './src/components/Footer.astro',
      },
    });
    Slot Props
    Header sections, currentSection
    Sidebar groups, currentId
    PageHeader entry, headline
    Toc headings, links
    Pager prev, next
    Footer entry

    MDX components

    Components in mdxComponents are available in every page. Using an existing name replaces the default.

    astro.config.mjs
    mines({
      title: 'My Docs',
      mdxComponents: {
        Video: './src/components/Video.astro',
      },
    });