A clean, modern, and scalable template for building full-stack AI application. Get all Hawkins components out the box.
This monorepo is a ready-to-use starting point and includes:
apps/web: A Next.js application with two pre-built pages:- A Profile page with a sample form.
- A Dashboard page with a clean empty state.
packages/ui: A shared React component library, powered by Tailwind CSS. All your reusable components go here.packages/utils: Shared utility functions (likecnfor class names).packages/typescript-config: Sharedtsconfig.jsons.packages/eslint-config: Shared ESLint configurations.
This template includes a variety of pre-built components to get you started:
- Accordion: A vertically stacked set of interactive headings.
- Avatar: An image element with a fallback for representing a user.
- UserAvatar: A specialized avatar that shows initials or a profile picture.
- Badge: For displaying a small amount of information.
- Button: A clickable button element.
- DropdownMenu: A menu that appears upon user interaction.
- Input: A standard text input field.
- MenuItem: An item within a menu.
- Modal: A dialog that is displayed on top of the current page.
- Select: A dropdown for selecting from a list of options.
- Slider: For selecting a value from a range.
- Switch: A control that can be toggled on or off.
- Tag: For categorizing or labeling content.
- Textarea: A multi-line text input field.
- Header: The main header for the application.
- HorizontalNav: A horizontal navigation bar.
- ThemeProvider: Manages application themes (e.g., light/dark mode).
To work with this template effectively, you'll need a few things set up on your computer.
- Node.js: This project requires Node.js to run. We recommend using the latest Long-Term Support (LTS) version. You can download it from nodejs.org.
- pnpm: We use pnpm as the package manager for this monorepo. After installing Node.js, you can install pnpm by running
npm install -g pnpmin your terminal. - Code Editor: A modern code editor is recommended for the best experience. We suggest using VS Code or Cursor, as they offer powerful features like IntelliSense for code completion and an integrated terminal for running commands.
To get started with this template:
-
Click the "Use this template" button on GitHub.
-
Clone your new repository.
-
Install dependencies using pnpm:
pnpm install
-
Start the development server:
pnpm dev
This will launch the Next.js application, which you can view at http://localhost:3000.