Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal blog theme for Astro with capsule floating navigation and modern design.
CapsuleX is an open-source Astro blog theme that pairs a capsule-shaped glassmorphism navigation bar with reading-focused features such as client-side search, a floating table of contents, and GitHub-style callout blocks.
CapsuleX is a minimal, modern blog theme built on Astro 7 for the static site generator. It takes Markdown or MDX files written in src/content/blog/ as input and generates a complete static blog site with a home page, about page, tag pages, RSS feed, and 404 page as output. The theme is maintained by GitHub user wangjacks and released under the Apache 2.0 license. It is currently in beta, so there are no official releases or npm packages yet — to use it, you clone the repository directly and run npm install.
[!NOTE], [!TIP], [!WARNING], and [!CAUTION] Markdown syntax rendered as styled boxes.The theme also ships with a centrally managed configuration in src/config.ts, where you can set the site title, description, author, navigation, social links, and toggle individual features such as reading progress, back-to-top, callouts, lightbox, RSS, and search.
.md or .mdx files in src/content/blog/ with frontmatter fields for title, description, pubDate, tags, pinned, and draft, and the theme handles listing, tagging, and RSS automatically.src/config.ts to change the site name, navigation menu, social links, and which features are enabled or disabled.npm run build and publish the dist directory; the README includes commands for Vercel and Netlify deployments.Clone the GitHub repository, install dependencies with npm install, and start the development server with npm run dev at http://localhost:4321. Content lives in src/content/blog/, site-wide settings live in src/config.ts, and a production build with npm run build outputs static files to dist.
Yes. CapsuleX is open source under the Apache 2.0 license, so you can use, modify, and distribute it freely, including for commercial projects.
Yes, it has a tri-state theme switcher that lets visitors choose auto (follows the device), light, or dark mode, with smooth transitions between them.
Create a new .md or .mdx file inside src/content/blog/ with frontmatter containing at least title, description, and pubDate. Optional fields include tags, pinned, and draft.
Yes. The README includes deploy steps for both: for Vercel, run vercel after installing the CLI; for Netlify, use npm run build as the build command and dist as the publish directory. It works on any static host.
CapsuleX distinguishes itself with a capsule-shaped glassmorphism navigation bar, a floating table of contents, and a built-in Fuse.js search modal — all without requiring a UI framework or Tailwind CSS.
