Installation
Install frutjam as a Tailwind UI library
How to install Frutjam UI library in Tailwind CSS project?
Make sure you have a working Tailwind CSS project installed, as well as Node and NPM on your computer. Frutjam works with Tailwind version 4.
Install frutjam as a Node package by running the following command:
bash
npm i -D frutjam
Import frutjam
to your input.css
css
@import "tailwindcss";
@import "frutjam";
Using a CDN
Use the CDN version of the frutjam UI library for fast and easy integration without local setup. Use this CDN version of frutjam only for development purposes, not in production.
html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/frutjam.min.css">
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>