Install

Add the package to your project.

pip install mkdocs-shadcn
uv add mkdocs-shadcn
poetry add mkdocs-shadcn

Configure MkDocs:

# mkdocs.yml
site_name: "awesome-project"
theme:
  name: shadcn
  pygments_style: dracula # set by default
  icon: heroicons:rocket-launch # use the shadcn svg by default

Currently there are not many options and they are likely to change. You can define an icon (image url or iconify class) for the top bar.