This is a Vite project bootstrapped with React + TypeScript and configured with TailwindCSS v4 and ShadCN UI.
First, run the development server:
bun devOpen http://localhost:5173 with your browser to see the result.
You can start editing the page by modifying src/App.tsx. The page auto-updates as you edit the file.
This project uses Bun as the package manager:
- Install dependencies:
bun add <package-name> - Run scripts:
bun <script-name> - Manage dev dependencies:
bun add -d <package-name>
The project uses Tailwind CSS V4 with a theme defined in:
src/index.css- For CSS variables including colors in OKLCH format and custom theming- Tailwind V4 uses the new
@themedirective for configuration
This project uses ShadCN UI for styled components. The components are incorporated directly into the codebase (not as dependencies), making them fully customizable. All components have been installed:
- accordion
- alert-dialog
- alert
- aspect-ratio
- avatar
- badge
- breadcrumb
- button
- calendar
- card
- carousel
- chart
- checkbox
- collapsible
- command
- context-menu
- dialog
- drawer
- dropdown-menu
- form
- hover-card
- input-otp
- input
- label
- menubar
- navigation-menu
- pagination
- popover
- progress
- radio-group
- scroll-area
- select
- separator
- sheet
- skeleton
- slider
- sonner
- switch
- table
- tabs
- textarea
- toast
- toggle-group
- toggle
Lucide React is the preferred icon library for this project, as specified in components.json. Always use Lucide icons to maintain consistency:
import { ArrowRight } from "lucide-react";
// Use in components
<Button>
<span>Click me</span>
<ArrowRight />
</Button>;This project uses Google Fonts with:
- Inter (sans-serif)
- Playfair Display (serif)
The font is imported via Google Fonts CDN in src/index.css and configured in the Tailwind theme:
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@theme inline {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--font-serif: "Playfair Display", ui-serif, Georgia, serif;
}To change or update fonts:
- Update the Google Fonts import in
src/index.css - Modify the
--font-sansvariable in the@themedirective
Build the project:
bun run buildPreview the production build:
bun run previewThe built files will be in the dist directory, ready for deployment to any static hosting service.