Nextbase Ultimate docs
Nextbase Ultimate docs
API ReferenceComponentsGetting StartedComponents

Components

Example components and code blocks

Code Examples

Fumadocs supports syntax highlighting for multiple languages.

JavaScript

function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet("World"));

TypeScript

On this page

Code ExamplesJavaScriptTypeScriptReact ComponentNavigation CardsListsFeaturesSteps
interface User {
  name: string;
  email: string;
}

function createUser(name: string, email: string): User {
  return { name, email };
}

React Component

export default function Button({ children, onClick }) {
  return (




Navigation Cards

Use cards to link to related documentation pages:

Getting Started

API Reference

Test Page

Lists

Features

  • Syntax highlighting
  • Dark mode support
  • Mobile responsive
  • Fast performance

Steps

  1. Read the documentation
  2. Try the examples
  3. Build your own content
  4. Deploy your site
<button onClick={onClick} className="btn">
{children}
</button>
);
}