BASE

Nextra

Nextra

Web framework / library · Free

A documentation framework built on Next.js: it organizes MDX pages, navigation, and search for products and SDKs.

Also known as: shuding/nextra; nextra; nextra-site

Resource illustration: Nextra

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Create product documentation on Next.js
  • Configure navigation and search and test transitions between materials

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create product documentation on Next.js.

Before you start

  • Web application source code and the intended workflow.
  • The project's framework and runtime version.

Steps

  1. Prepare MDX pages and the documentation section structure.
  2. Configure navigation and search and test transitions between materials.
  3. Add real data and error handling; check the production build.

Check your result

  • The workflow works after a page refresh and with invalid data.
  • The bundle, server rendering, and supported browsers suit the project.

Choosing Nextra

Create product documentation on Next.js

Choose this when

  • Create product documentation on Next.js
  • Configure navigation and search and test transitions between materials

Requirements

  • Next.js with a router matching the chosen Nextra generation. The README's PNPM Workspaces/Turborepo instructions concern development of the monorepo itself.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.

Frequently asked questions

What can you use for free in Nextra?

Code and local use under MIT.

What additional costs might arise with Nextra?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Nextra?

MIT for the code; dependencies have separate licenses.

How do you get started with Nextra?

Prepare MDX pages and the documentation section structure. Configure navigation and search and test transitions between materials. Add real data and error handling; check the production build.

Which Next.js structure should I choose for Nextra documentation?

Nextra builds content sites on Next.js and Markdown/MDX. Choose a documentation theme, blog theme, or your own theme; MDX supports interactive React components. Nextra 4 works only with App Router, while generations 1/2/3 support the older Pages Router.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Nextra
  • web
  • Development

Sources

Other resources