Templates
A ready-made layout for a document that you can fill in with your own content without needing to worry about formatting.
A Template is a pre-designed structure or framework used to create consistent content within a project. It provides a standardized format with placeholders, allowing users to quickly generate new documents or components. Templates save time, ensure uniformity, and make the creation process more efficient.
Step 1: Log In to Your Account
- Go to flyonui.com and log in using your credentials.
Step 2: Navigate to the Templates Page
- Visit the Templates page to explore different types of templates.

Step 3: Access the FlyonUI Figma Kit
- Click the “Get All Access” button to unlock the FlyonUI templates.
For Development seamless workflow, instantly view your CSS changes and automatically compile TailwindCSS without any hassle. This ensures a more efficient and streamlined coding experience, allowing you to focus on building while Tailwind handles the rest.
pnpm run dev
For Production, it generates optimized and minified assets, ensuring faster load times and improved performance for deployment. This process refines your code, making it ready for seamless and efficient production use.
pnpm run build:prod
src/
├── html/
│ ├── dashboard-default/ # Default dashboard layout
├── assets/ # Build assets and outputs
│ ├── css/ # Source CSS files
│ │ └── main.css # Main TailwindCSS source
│ ├── js/ # JavaScript files
│ ├── img/ # Images and graphics
│ ├── json/ # JSON data files
│ ├── dist/ # Built assets (previously vendor)
│ │ ├── css/ # Compiled CSS
│ │ │ └── output.css # Generated TailwindCSS output
│ │ ├── js/ # Built JavaScript
│ │ └── libs/ # External libraries
pnpm run dev
- Start TailwindCSS development mode with file watching and local server.pnpm run watch
- Start TailwindCSS in watch mode (CSS compilation only)pnpm run serve
- Start a local HTTP server for preview
pnpm run build
- Build all assets for developmentpnpm run build:css
- Compile TailwindCSS without minificationpnpm run build:js
- Copy JavaScript files to dist directorypnpm run build:libs
- Build external libraries from node_modulespnpm run build:assets
- Build all assets for developmentpnpm run build:prod
- Build all assets for production with minification
- Node.js 18.0.0 or higher
- npm or yarn package manager
- Install dependencies: This will install
node_modules
in your file automatically.
npm install
- Start development: This will start TailwindCSS in watch mode and compile changes automatically.
pnpm run dev
- Preview your site: This will start a local server at
http://localhost:8080
pnpm run dev
The main TailwindCSS configuration is defined in the source CSS file at css/main.css. This file uses TailwindCSS 4.x syntax with @import directives and can include custom CSS.
Build settings are managed through a configuration system that controls compilation options, dependencies, environment variables, and build targets for consistency and optimization.
package.json
- NPM scripts and dependenciesgulpfile.js
- NPM scripts and dependenciesbuild-config.js
- NPM scripts and dependencieslibs-build.js
- NPM scripts and dependencies
- Start by installing the desired library via your terminal or command line interface. You can do this using
npm
oryarn
as follows:
npm install nouislider
This will add the library to your `node_modules directory and include it in your package.json dependencies.
- After installation, verify that the library is present in your
package.json
under the dependencies section, and check that it has been successfully added to thenode_modules
directory.
You can check package.json
for a corresponding entry:
"dependencies": {
"nouislider": "~15.8.1"
}
- Next, you’ll need to include the library in the
libs-build.js
configuration file. Open this file and add the library to the list of assets in alphabetical order, ensuring that the build process knows to include it in the final output.
For example:
nouislider: {
src: ['nouislider/dist/nouislider.min.js']
}
- Run the build process to bundle the libraries. Use the following command to trigger the build process:
nr build
This will generate the necessary files and output them into the assets/dist/libs/
directory. Verify that the nouislider.min.js
file (or your specific library) is placed correctly within the assets/dist/libs/
folder.
- Finally, reference the installed library in your HTML or JavaScript files. Add the corresponding
<script>
tag to your HTML file to include the library from theassets/dist/libs/
directory.
For example:
<script src="../assets/dist/libs/nouislider/dist/nouislider.min.js"></script>
All Set 🚀
You’re now ready to use the library in your project!