This documentation covers the instruction on how to install and use the Tailwind CSS templates, and answers to any problems and issues you may face while using the templates.
If you have any question that is beyond the scope of this documentation feel free to Open a Support Ticket or reach out to us on Discord.
We will get back to you ASAP.
The Tailwind templates are built with plain HTML and Tailwind CSS and a few Vanilla JS scripts. And we used Alpine JS for interactions like slider, video, and image popup.
You can download all available templates that are available under the big bundle, by visiting your account.
You can download it anytime you want, as long as you have an account with us.
When you download a template and extract it you’ll get a folder that looks like this:
|-- Template Folder
|-- src
| |-- css
| |-- All CSS Files
| |-- js
| |-- All JS Files
| |-- images
| |-- All Images
| |-- partials
| |-- HTML Common Sections Like Header, Footer etc
| |-- index.html and All HTML Pages Files
|
|
|-- All Config files
If you want to customize the template just go to the src
folder, and you’ll find all the files you need to customize.
To use the Tailwind template first we will have to install the dependencies and plugins included in the template.
Note: Before we install the plugins make sure you have Node.js installed on your machine. Otherwise, the commands won’t work.
Here are the steps you’ll have to take to install the templates:
Step#1: Download the template from GrayGrids. When you download the template, you’ll get a zip file.
Step#2: Unzip/Extract the zip file. After you’ve extracted it you’ll find all the files and assets you’ll need.
Step#3: Now open up the Terminal/Command Line in the project folder. And run this command to install the plugins and the dependencies:
npm install
It’ll take a few seconds to install. After installation is done, run this command to start the project:
npm run start
When it starts it’ll automatically open up the project on [localhost:3000](http://localhost:3000)
.
Now you can change the default content and add your own content, and see the changes on the browser immediately.
canvas
package build failure on macOSIf you encounter errors during bun install
(or npm install
/yarn install
) related to the canvas
package, particularly messages like Package pixman-1 was not found
or node-gyp ERR! build error
, it's likely due to missing system dependencies required to compile canvas
from source. This often occurs when pre-built binaries for canvas
are not available for your specific Node.js version and system architecture (e.g., Node.js 22+ on macOS ARM).
To resolve this on macOS, you need to install the required dependencies using Homebrew. Open your terminal and run:
brew install pkg-config cairo pango libjpeg giflib librsvg
After successfully installing these dependencies, try running bun install
again:
bun install
This should allow the canvas
package to compile correctly.
To deploy the Template, you’ll have to generate the build
folder. You can do that by running this command:
npm run build
It’ll give you a build
folder, now you can just upload it on your server and your website will be live.