Installation
Project setup using Next.js and shadcn/ui.
Follow these steps to set up VizStats UI in your project using Next.js and shadcn/ui. This guide provides a comprehensive setup process, including all necessary prerequisites.
Prerequisites
Before installing VizStats UI, ensure you have the following installed:
- Node.js (v14.0.0 or later)
- A package manager: npm, pnpm, yarn, or bun
Create a new Next.js project
To get started with VizStats UI, you'll need to create a new Next.js project. Follow these steps:
Install Next.js
First, install Next.js using your preferred package manager. Run the following command in your terminal:
Navigate to your project directory
Once the project is created, navigate to the project directory using the following command:
Setup shadcn/ui
Next, install shadcn/ui using your preferred package manager. Run the following command in your terminal:
Initialize shadcn/ui
During the initialization, you'll be prompted to answer some questions. Here are the recommended answers:
Adding shadcn/ui components
Once shadcn/ui is installed, you can add its components to your project using the following command:
Install additional dependencies
Install the necessary dependencies using your preferred package manager:
Now that you have set up your project with Next.js, shadcn/ui, and the additional dependencies, you can start building your application using VizStats UI components. Check out our component documentation for usage examples and customization options.