JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q42669F
  • License MIT

React UI Components using TailwindCSS

Package Exports

  • react-tailwind-library
  • react-tailwind-library/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-tailwind-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-tailwind-library

Setup Tailwind CSS

Using official Tailwind Docs https://tailwindcss.com/docs/installation

Install

Using npm:

npm install react-tailwind-library

or using yarn:

yarn add react-tailwind-library

Usage

We can use it in React and Next JS projects

import { Combobox } from 'react-tailwind-library';
import { Button } from 'react-tailwind-library';

Add CSS in your Root Directory

In ReactJs add this in index.js file :

In NextJs add this in _app.js file :

import '../node_modules/react-tailwind-library/dist/style.css';