Greenovinity Documentation
Greenovinity is a premium, multipurpose admin dashboard template built with Tailwind CSS 4 and Vite. This guide covers installing the template, understanding its structure, customizing it, building the landing page, and publishing everything.
Key features
- Tailwind CSS 4 with design tokens defined in
@theme - Dark and light mode with a saved preference and system mode
- Fully responsive layouts: collapsible sidebar, mobile friendly tables and cards
- 10 dashboards: AI, Analytics, CRM, Ecommerce, Finance, HRM, Logistics, Marketing, Projects, SaaS
- 18 working apps: chat, email, calendar, kanban, notes, file manager, invoices and more
- 25 UI component pages for buttons, forms, tables, tabs, toasts, steppers and others
- Charts and maps using ApexCharts, Chart.js and ECharts
- Reusable partials for head, sidebar, topbar, breadcrumb, footer and scripts
- Multi-language support including Arabic font support
- Authentication pages: login, register, forgot/reset password, OTP, lock screen
Live Demo
No installation needed. Open the hosted demo in your browser and explore every page, exactly as it ships.
All dashboards
https://greenovinity.valaithalamcreatorstudio.com/tailwind/dist/<page-name>.html. Page names are listed in the Pages Catalog.Hosting the demo yourself
Run npm run build and upload the contents of the dist folder to a /tailwind/ folder on your domain. The build is already configured with /tailwind/ as its base path, so the same files work at https://greenovinity.netlify.app/tailwind/dist/ without changes.
Requirements
| Tool | Version | Purpose |
|---|---|---|
| Node.js | 18 or newer (LTS recommended) | Runs Vite and the build |
| npm | Comes with Node.js | Installs dependencies |
| Code editor | VS Code (recommended) | Editing HTML, CSS and JS |
| Browser | Latest Chrome, Edge, Firefox or Safari | Preview |
node -v and npm -v.Installation
- Open the template folder (
tailwind/) in a terminal.cd tailwind - Install dependencies. A
postinstallscript also copies the required libraries intosrc/assets/libs.npm install - Start the dev server. The browser opens with live reload.
npm run dev - Open a page such as
/dashboard-crm.htmland start editing files insrc/.
node_modules and package-lock.json, then run npm install again.NPM Commands
| Command | What it does |
|---|---|
npm install | Installs packages and copies libraries (postinstall). |
npm run dev | Starts the Vite development server with hot reload. |
npm run build | Creates the optimized production build in dist/. |
npm run preview | Serves the built dist/ folder locally to test it. |
NODE_OPTIONS=--max-old-space-size=8192 for you.Folder Structure
| Path | Purpose |
|---|---|
src/assets/css/style.css | Main stylesheet: Tailwind import, design tokens, component styles. |
src/assets/css/layouts.css | Layout rules for the app shell (sidebar, topbar, content). |
src/assets/js/script.js | Theme switching, language, sidebar collapse and shared behavior. |
src/partials/ | Shared HTML blocks included into every page. |
plugins/vite-plugin-file-include.js | Handles the @@include directive. |
vite.config.js | Vite setup, library copy, multi-page entries. |
How Pages Work
Each page in src/ is a normal HTML file that pulls in shared partials using @@include. This keeps the sidebar, topbar and footer in one place.
<!-- top of a page -->
@@include('partials/head.html', {"pageName": "CRM Dashboard", "pageDesc": "Revenue pipeline and forecast."})
@@include('partials/sidebar.html')
@@include('partials/topbar.html')
@@include('partials/breadcrumb.html', {"crumbGroup": "Dashboards", "crumbHref": "dashboard-crm.html", "crumbPage": "CRM"})
<!-- page content here -->
@@include('partials/footer.html')| Partial | Contains |
|---|---|
head.html | <head> tags, title, description, stylesheets. |
sidebar.html | Main navigation menu for all pages. |
topbar.html | Search, theme toggle, notifications, user menu. |
breadcrumb.html | Breadcrumb trail (group, page). |
footer.html | Footer text and links. |
scripts.html | JavaScript files loaded at the end of each page. |
partials/sidebar.html.Create a New Page
- Duplicate an existing page, for example copy
src/ui-cards.htmltosrc/my-page.html. - Update the
pageNameandpageDescvalues in thehead.htmlinclude. - Update the breadcrumb include values.
- Replace the content between the topbar and footer with your own.
- Add a link to the page in
partials/sidebar.html. - Open
/my-page.htmlin the dev server to check it.
.html files in src/ are picked up automatically by the build.Pages Catalog
The template ships with 155 HTML files (many pages have a matching -details page).
Dashboards (10)
dashboard-ai · dashboard-analytics · dashboard-crm · dashboard-ecommerce · dashboard-finance · dashboard-hrm · dashboard-logistics · dashboard-marketing · dashboard-projects · dashboard-saas
Business modules
| Module | Pages |
|---|---|
| CRM | Pipeline, Deals, Leaderboard, Activities |
| Ecommerce | Products, Orders, Inventory, Customers, Sales |
| Finance | Transactions, Budgets, Cash flow, Receivables |
| HRM | Attendance, Headcount, Hiring, Leave, Talent |
| Logistics | Fleet, Hubs, Map, Shipments |
| Marketing | Campaigns, Channels, Content, Experiments, Social |
| Projects | Board, Roadmap, Sprint, Workload |
| SaaS | Cohorts, Customers, Renewals, Revenue |
| Analytics | Acquisition, Audience, Conversions, Pages, Traffic |
| AI | Insights, Models, Safety, Usage |
Apps (18)
AI Chat · AI Image · AI Writer · Calendar · Chat · Contacts · Email · File Manager · Invoices · Kanban · Notes · Products · Settings · Todo · Users
Authentication (6)
Login · Register · Forgot Password · Reset Password · Verify OTP · Lock Screen
Settings (5)
Audit · Devices · Language · Privacy · Webhooks
UI Components
Each component has its own demo page named ui-*.html. Copy the markup you need into your page.
| Page | What you get |
|---|---|
ui-accordion | Collapsible panels |
ui-badges | Status and count badges |
ui-buttons | Button styles, sizes and groups |
ui-cards | Card layouts |
ui-carousel | Image and content sliders |
ui-charts | Chart examples |
ui-dropdowns | Dropdown menus |
ui-empty-states | No-data placeholders |
ui-feedback | Alerts and messages |
ui-forms | Inputs, selects, checkboxes, switches, pickers |
ui-icons | Icon sets preview |
ui-lists | List groups |
ui-loaders | Spinners and skeletons |
ui-navigation | Navbars and menus |
ui-pagination | Pagination controls |
ui-popovers | Popover boxes |
ui-progress | Progress bars |
ui-ratings | Star ratings |
ui-steppers | Step wizards |
ui-tables | Data tables |
ui-tabs | Tab navigation |
ui-timeline | Timelines |
ui-toasts | Toast notifications |
ui-tooltips | Tooltips |
ui-typography | Headings and text styles |
Libraries
| Library | Use |
|---|---|
| Tailwind CSS 4 | Styling framework |
| Vite 6 | Dev server and bundler |
| ApexCharts, Chart.js, ECharts | Charts and maps (echarts-countries-js for country maps) |
| FullCalendar | Calendar app |
| Flatpickr, Daterangepicker | Date and range pickers |
| Choices.js | Enhanced select boxes |
| Dragula | Drag and drop (kanban) |
| noUiSlider | Range sliders |
| Quill | Rich text editor |
| GLightbox | Image lightbox |
| SimpleBar | Custom scrollbars |
| Prism.js | Code highlighting |
| Preline | UI interactions |
| Clipboard.js | Copy to clipboard |
| Phosphor, Lucide, Font Awesome, Ionicons | Icon sets |
Colors & Design Tokens
Design tokens are defined in src/assets/css/style.css inside the Tailwind v4 @theme block. The primary brand color is Deep Teal, with shades from primary-50 to primary-900.
@theme {
--font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
--color-primary-50: #effaf6;
--color-primary-100: #d7f2e7;
--color-primary-200: #b0e4d0;
/* ...continue to primary-900 */
}Change the brand color
- Open
src/assets/css/style.css. - Find the
--color-primary-*variables. - Replace each shade with your own palette (generate one at uicolors.app).
- Save; the dev server updates instantly.
Then use the tokens anywhere in HTML:
<button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg">Save</button>Dark Mode
Dark mode is controlled by the data-theme attribute on the <html> element. The preference is stored in localStorage and supports light, dark and system.
/* style.css */
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));Use the dark: variant in your markup:
<div class="bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100">...</div>To switch theme with a button, add the data-theme-set attribute:
<button data-theme-set="dark">Dark</button>
<button data-theme-set="light">Light</button>
<button data-theme-set="system">System</button>Fonts
The template uses Plus Jakarta Sans (with Noto Sans Arabic for RTL text). Change fonts in the @theme block:
@theme {
--font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
--font-display: "Poppins", ui-sans-serif, sans-serif;
}Load the new font with a Google Fonts <link> tag in partials/head.html.
Icons
Several icon packs are included. The most used is Phosphor Icons.
<i class="ph ph-house"></i> <!-- regular -->
<i class="ph-bold ph-house"></i> <!-- bold -->
<i class="ph-fill ph-house"></i> <!-- fill -->
<i class="fa-solid fa-user"></i> <!-- Font Awesome -->Browse all icons on the ui-icons.html page.
Charts
Most charts use ApexCharts. Add a container and initialize it in a script:
<div id="sales-chart"></div>
<script>
new ApexCharts(document.querySelector("#sales-chart"), {
chart: { type: "area", height: 280 },
series: [{ name: "Sales", data: [30, 40, 35, 50, 49, 60] }],
xaxis: { categories: ["Jan","Feb","Mar","Apr","May","Jun"] }
}).render();
</script>See ui-charts.html for Chart.js and ECharts examples.
Language & RTL
The selected language is saved in localStorage and applied by script.js. Open settings-language.html to see the language switcher. Arabic text uses the Noto Sans Arabic font.
src/assets/js/script.js and a new option in the language menu.Landing Page Guide
The marketing landing page lives in landing-page/ and is plain HTML and CSS, so it needs no build step. Open landing-page/index.html in a browser to preview it.
| File | Purpose |
|---|---|
index.html | All page content and structure |
style.css | Styling and responsive rules |
img/ | Logo, favicon, dashboard screenshots and avatars |
Landing Sections
| Section | ID / class | Content |
|---|---|---|
| Navigation | .nav | Logo, links, hamburger menu on mobile, Buy button |
| Hero | #home | Version pill, headline, buttons, stats and dashboard preview |
| Technology strip | .strip | Technologies used |
| Main (demos) | #demos | 8 dashboard screenshots |
| Features | #features | 9 feature cards |
| Apps | #apps | App tags, module list, screenshot |
| Libraries | #tech | Included libraries |
| Testimonials | (no id) | 3 quote cards |
| Pricing | #pricing | 3 license plans |
| FAQs | #faq | Expandable questions |
| Call to action | .cta | Purchase banner |
| Contact | #contact | Support form |
Editing the Landing Page
Change text and brand
Edit the text directly in index.html. Replace "Greenovinity" with your name and swap img/logo.svg and img/logo-light.svg.
Change button and accent colors
.pink{background:#f43f6e;color:#fff} /* primary button */
.pink:hover{background:#e11d58}
.dark{background:#0f172a;color:#fff} /* dark button */Update dashboard screenshots
Replace the PNG files in landing-page/img/ (for example dashboard-crm.png). Use 1440 × 900 images and keep file names, or change the src in #demos.
Add a feature card
<div class="card">
<div class="icon">🚀</div>
<h3>New Feature</h3>
<p>Describe the feature here.</p>
</div>Connect the contact form
The form currently shows a popup only. To receive messages use a service such as Formspree and remove the onsubmit attribute:
<form action="https://formspree.io/f/YOUR_ID" method="POST">...</form>Tailwind CSS Guide
Tailwind is a utility-first framework: you style elements with small classes like bg-green-600 text-white p-4 directly in HTML.
Option 1 – CDN (quick, for learning)
<script src="https://cdn.tailwindcss.com"></script>
<body class="bg-green-50 text-gray-800">
<section class="bg-green-700 text-white text-center py-24">
<h1 class="text-4xl font-bold">Hello Tailwind</h1>
</section>
</body>Option 2 – Tailwind CLI (production)
- Create the project
npm init -y npm install tailwindcss @tailwindcss/cli - Create
src/input.css@import "tailwindcss"; - Build the CSS
npx @tailwindcss/cli -i ./src/input.css -o ./dist/output.css --watch - Link it
<link href="./dist/output.css" rel="stylesheet"> - Minify for production
npx @tailwindcss/cli -i ./src/input.css -o ./dist/output.css --minify
Option 3 – Tailwind with Vite (used by Greenovinity)
Greenovinity uses PostCSS with the @tailwindcss/postcss plugin:
// postcss.config.js
export default {
plugins: {
"@tailwindcss/postcss": {},
"autoprefixer": {},
},
}Then import Tailwind at the top of your main CSS file with @import "tailwindcss";.
Example: responsive 3-column grid
<div class="max-w-5xl mx-auto grid gap-6 md:grid-cols-3 p-6">
<div class="bg-white rounded-xl shadow p-6 text-center">
<h3 class="font-bold text-lg">Fast</h3>
<p class="text-gray-600">Short description.</p>
</div>
</div>Common Tailwind Classes
| Goal | Classes |
|---|---|
| Spacing | p-4 px-6 py-2 m-4 mt-8 gap-4 |
| Colors | bg-primary-600 text-white border-gray-200 |
| Text | text-xl text-4xl font-bold text-center |
| Layout | flex items-center justify-between grid grid-cols-3 |
| Size | w-full max-w-5xl mx-auto h-16 |
| Look | rounded-lg shadow-lg hover:bg-primary-500 |
| Responsive | sm: md:grid-cols-3 lg:text-5xl xl: |
| Dark mode | dark:bg-gray-900 dark:text-white |
| State | hover: focus: active: disabled: |
Full reference: tailwindcss.com/docs
Build for Production
npm run build # creates dist/
npm run preview # test the build locallyThe dist/ folder contains optimized HTML, CSS, JS and assets ready to upload.
/tailwind/ for assets. If you host at the domain root, change the base option in vite.config.js before building.Deployment
The output is static, so it can be hosted for free almost anywhere.
vercel.public_html.index.html is at the top level and the img/ (or assets/) folder is uploaded too.Performance & SEO
- Compress images (PNG screenshots can be converted to WebP, aim for under 300 KB each).
- Add
loading="lazy"to images below the fold. - Give every image a descriptive
alttext. - Set a unique
<title>and<meta name="description">for each page. - Add Open Graph tags for nicer social sharing.
- Remove libraries and pages you do not use before deploying.
<meta property="og:title" content="Greenovinity – Tailwind Admin Dashboard">
<meta property="og:image" content="img/dashboard-crm.png">
<img src="img/dashboard-crm.png" alt="CRM dashboard" loading="lazy">Submission Checklist
Troubleshooting
| Problem | Solution |
|---|---|
npm install fails | Update Node.js to LTS, delete node_modules and package-lock.json, retry. |
| Page is unstyled | Check the stylesheet path in partials/head.html and that the dev server is running. |
| Libraries missing (404) | Run npm install again so the postinstall script copies libraries into src/assets/libs. |
| Build crashes with memory or EMFILE errors | Close other apps; the build already raises memory limits and retries file reads. |
| Assets 404 after deployment | The build base path is /tailwind/; change base in vite.config.js or host under that folder. |
| Dark mode does not switch | Check data-theme on <html> and clear localStorage. |
| Changes not showing | Hard refresh with Ctrl + Shift + R. |
| Landing images missing | Make sure the img/ folder sits next to index.html. |
Browser Support
| Browser | Support |
|---|---|
| Chrome / Edge | ✅ Latest versions |
| Firefox | ✅ Latest versions |
| Safari | ✅ Latest versions |
| Internet Explorer | ❌ Not supported |
FAQ
Do I need Node.js for the landing page?
No. The landing page is plain HTML and CSS. Node.js is only needed for the Greenovinity template.
Why are my images not showing?
Check the file path and name (case-sensitive on servers). Images must be in the img/ folder.
How do I change the sidebar menu?
Edit src/partials/sidebar.html. It updates every page.
How do I change the primary color?
Edit the --color-primary-* variables in src/assets/css/style.css.
Can I remove pages I don't need?
Yes. Delete the HTML file and its sidebar link.
Can I use it with React or Angular?
The template is HTML based. You can copy the markup and classes into any framework.
Does the contact form send emails?
No, it only shows a popup. Connect it to a service such as Formspree.
Where do I get updates?
Replace your files with the new release and review the Change Log page.
Credits & License
- Tailwind CSS · Vite
- ApexCharts · Chart.js · ECharts
- FullCalendar · Flatpickr · Choices.js
- Phosphor Icons · Lucide · Font Awesome
- Fonts: Plus Jakarta Sans, Noto Sans Arabic (Google Fonts)
The template package is marked MIT in its package.json. Each third-party library keeps its own license.
Support
Need help? Check the Troubleshooting and FAQ sections first. If the problem remains, contact the project owner with:
- What you were trying to do
- The error message or a screenshot
- Your Node.js version and operating system