1.1.1 • Published 2 years ago

@devops-cora/tw-elements v1.1.1

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

TW Elements

TW Elements is a huge collection of free, interactive components for Tailwind CSS.


Table of Contents


Community

TW Elements is a community-driven project. We invite you to track our live progress 👁️ on the upcoming release.

In the meantime you can also:

If you want to help the project grow, start by simply sharing it with your peers!

Thank you!


Coming soon

Check out the upcoming features - make sure to join the waiting list in order to get early access!


Components

A collection of stunning components made with attention to the smallest details. Forms, cards, buttons, and hundreds of others – in TW Elements you will find all the essential elements necessary for every project.


Design blocks

Responsive Landing page blocks built with Tailwind CSS. Plenty of design blocks examples such as Teams, services, projects, faq, and many more.


Installation

NPM
  1. Before starting the project make sure to install Node.js (LTS) and TailwindCSS.

  2. Run the following command to install the package via NPM:

npm install @devops-cora/tw-elements
  1. TW Elements is a plugin and should be included inside the tailwind.config.js file. It is also recommended to extend the content array with a js file that loads dynamic component classes:
module.exports = {
  content: [
    "./src/**/*.{html,js}",
    "./node_modules/@devops-cora/tw-elements/dist/js/**/*.js",
  ],
  plugins: [require("@devops-cora/tw-elements/dist/plugin")],
  darkMode: "class",
};
  1. Dynamic components will work after adding the js file:
<script src="./TW-ELEMENTS-PATH/dist/js/tw-elements.umd.min.js"></script>

Alternatively, you can import it in the following way (bundler version):

import '@devops-cora/tw-elements';