Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A modern, feature-rich documentation theme built on Astro Starlight with custom components, enhanced UI, and multilingual support.
DocKit is a documentation theme for Astro Starlight that adds custom components, icon-based sidebar navigation, and multilingual support to the base Starlight framework.
DocKit is a documentation theme built on Astro Starlight, the documentation-focused static site generator. It accepts Markdown and MDX content placed in src/content/docs/ and JSON configuration files in src/config/, and outputs a static website with styled navigation, feature cards, accordions, and buttons. The theme runs entirely on Astro and builds to plain HTML, CSS, and JavaScript in the dist/ directory. The project is distributed as a public GitHub repository under the name dockit-astro.
Accordion.astro, Button.astro, Grid.astro, ListCard.astro, and NewCard.astro, which can be imported into MDX pages to add collapsible sections, call-to-action buttons, responsive grids, and gradient cards.Sidebar, Header, Footer, Hero, and TableOfContents components, improving mobile navigation, hero styling, and table-of-contents behavior.src/config/sidebar.json and supports icon syntax such as [seti:vite], [document], [setting], and [rocket], using Seti UI and Starlight built-in icons.src/config/locals.json with a defaultLocale and per-language labels; translated content can be stored in subdirectories like src/content/docs/de/ for Dutch.src/config/theme.json (for example, #2563eb), and additional styles can be added to src/styles/global.css using Starlight's CSS variables.src/config/, making the theme predictable to customize.config.json, and building; no need to hand-write navigation or styles.Grid, NewCard, and Accordion components in MDX pages.autogenerate configuration pointing at an api folder.src/content/docs/de/ and switch between them using the locale settings in locals.json.Accordion.astro to build collapsible Q&A sections and Button.astro for prominent links to support articles or contact forms.theme.json and override CSS variables in global.css to match a company's brand identity.Getting started follows the steps in the README: clone the repository, run yarn install and yarn dev, edit the configuration files in src/config/, add Markdown files to src/content/docs/, customize the sidebar in sidebar.json, then run yarn build to generate a production site in dist/. The dev server runs at localhost:4321.
The theme is stored in a public GitHub repository and uses only free, open-source dependencies such as Astro and Starlight. The documentation does not mention any paid tier or license fee, so you can clone and use it without paying.
DocKit ships five user-facing Astro components: Accordion.astro, Button.astro, Grid.astro, ListCard.astro, and NewCard.astro. It also overrides five Starlight components: Sidebar, Header, Footer, Hero, and TableOfContents.
Create a .md or .mdx file in src/content/docs/. The file's frontmatter must include a title and description. After that, add its slug to src/config/sidebar.json to make it appear in the navigation.
Yes. Add a locale entry to src/config/locals.json, create a matching content subdirectory such as src/content/docs/de/, and place translated .md files there. The menu files are named with language codes, for example menu.en.json and menu.de.json.
DocKit adds a set of custom UI components, icon support in the sidebar, a configurable footer and hero, and a centralized JSON configuration system. Base Starlight provides the core site generation and built-in components, while DocKit layers these enhancements on top.
