NextMantine is a feature-rich Next.js starter template designed to help you build modern, responsive web applications with ease. It leverages the power of Next.js App Router, Mantine.dev for UI components, and Tailwind CSS for custom styling. With built-in light and dark mode support, a carousel component, and Jest for unit testing, NextMantine is your go-to template for developing scalable web applications.
Clone the repository:
git clone https://github.com/yourusername/nextmantine.git
cd nextmantine
Install the dependencies:
yarn install
# or
npm install
Run the development server:
yarn dev
# or
npm run dev
Open http://localhost:3000 to view it in the browser.
To use the carousel component in your project:
import { Carousel } from '@mantine/carousel';
function ExampleCarousel() {
return (
<Carousel>
<Carousel.Slide>Slide 1</Carousel.Slide>
<Carousel.Slide>Slide 2</Carousel.Slide>
<Carousel.Slide>Slide 3</Carousel.Slide>
</Carousel>
);
}
export default ExampleCarousel;