Gathering detailed insights and metrics for @visulima/nextra-theme-docs
Gathering detailed insights and metrics for @visulima/nextra-theme-docs
Gathering detailed insights and metrics for @visulima/nextra-theme-docs
Gathering detailed insights and metrics for @visulima/nextra-theme-docs
Visulima is the next-gen JavaScript framework for JAMStack blogs, sites & apps.
npm install @visulima/nextra-theme-docs
Typescript
Module System
Min. Node Version
Node Version
NPM Version
@visulima/cerebro@1.1.46
Updated on Jun 04, 2025
@visulima/boxen@2.0.2
Updated on Jun 04, 2025
@visulima/pail@2.1.25
Updated on Jun 04, 2025
@visulima/api-platform@3.0.44
Updated on Jun 04, 2025
@visulima/jsdoc-open-api@2.0.81
Updated on Jun 04, 2025
@visulima/find-cache-dir@1.0.31
Updated on Jun 04, 2025
TypeScript (93.51%)
JavaScript (5.17%)
MDX (1.02%)
Handlebars (0.14%)
Shell (0.08%)
CSS (0.08%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
16 Stars
2,703 Commits
3 Forks
2 Watchers
17 Branches
2 Contributors
Updated on Jun 10, 2025
Latest Version
4.0.26
Package Id
@visulima/nextra-theme-docs@4.0.26
Unpacked Size
740.12 kB
Size
157.21 kB
File Count
20
NPM Version
9.6.7
Node Version
18.20.3
Published on
Jun 06, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
21
60
Nextra Docs Theme is a theme that includes almost everything you need to build a modern documentation website. It includes a top navigation bar, a search bar, a pages sidebar, a TOC sidebar, and other built-in components.
Visulima nextra-theme-doc is built on top of
Daniel Bannert's open source work is supported by the community on GitHub Sponsors
If you have a Nextra project, you can install the theme with:
1npm install @visulima/nextra-theme-docs zod
1yarn add @visulima/nextra-theme-docs zod
1pnpm add @visulima/nextra-theme-docs zod
if you don't have a Nextra project, you can use the Next CLI to create one and install
1npm install nextra @visulima/nextra-theme-docs zod
1yarn add nextra @visulima/nextra-theme-docs zod
1pnpm add nextra @visulima/nextra-theme-docs zod
If not there create the following next.config.js
file in your project’s root directory:
1const withNextra = require("nextra")({ 2 theme: "@visulima/nextra-theme-docs", 3 themeConfig: "./theme.config.jsx", 4}); 5 6module.exports = withNextra(); 7 8// If you have other Next.js configurations, you can pass them as the parameter: 9// module.exports = withNextra({ /* other next.js config */ })
pages/_app.{jsx,tsx,mdx}
file1import "@visulima/nextra-theme-docs/style"; 2 3import type { AppProps } from "next/app"; 4import Head from "next/head"; 5import type { FC, ReactElement } from "react"; 6import React from "react"; 7 8const MyApp: FC<AppProps & { Component: AppProps["Component"] & { getLayout?: (component: ReactElement) => ReactElement } }> = ({ Component, pageProps }) => { 9 const getLayout: (component: ReactElement) => ReactElement = Component.getLayout ?? ((page) => page); 10 11 return ( 12 <> 13 <Head> 14 <link as="font" crossOrigin="anonymous" href="/Inter.var.woff2" rel="preload" type="font/woff2" /> 15 </Head> 16 {/* eslint-disable-next-line react/jsx-props-no-spreading */} 17 {getLayout(<Component {...pageProps} />)} 18 </> 19 ); 20}; 21 22export default MyApp; 23
SkipNavLink
component your pages/_document.{jsx,tsx,mdx}
file1import { SkipNavLink } from "@visulima/nextra-theme-docs/components"; 2import Document, { Head, Html, Main, NextScript } from "next/document"; 3import type { ReactElement } from "react"; 4import React from "react"; 5 6class MyDocument extends Document { 7 public render(): ReactElement { 8 return ( 9 <Html lang="en"> 10 <Head /> 11 <body className="relative"> 12 <SkipNavLink /> 13 <Main /> 14 <NextScript /> 15 </body> 16 </Html> 17 ); 18 } 19} 20 21export default MyDocument; 22
Lastly, create the corresponding theme.config.jsx file in your project’s root directory. This will be used to configure the Nextra Docs theme:
1export default { 2 logo: <span>My Nextra Documentation</span>, 3 project: { 4 link: "https://github.com/shuding/nextra", 5 }, 6 // ... 7};
Now, you can create your first MDX page as pages/index.mdx
:
1## Welcome to Nextra 2 3Hello, world!
For more information, check out the Nextra documentation. You can also check the example project here.
Libraries in this ecosystem make the best effort to track Node.js’ release schedule. Here’s a post on why we think this is important.
If you would like to help take a look at the list of issues and check our Contributing guild.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The visulima nextra-theme-docs is open-sourced software licensed under the MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
project has 4 contributing companies or organizations
Details
Reason
no dangerous workflow patterns detected
Reason
update tool detected
Details
Reason
license file detected
Details
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
SAST tool detected: CodeQL
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Score
Last Scanned on 2025-07-08T07:32:37Z
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More