Loading...

NiraUI – Usage Guide

How to use NiraUI classes to style your page?

Once NiraUI is installed, styling your pages becomes effortless.NiraUI gives you semantic, prebuilt classes like button and card all built on top of Tailwind CSS — so your HTML stays clean and your design consistent.

  • Cleaner, more readable HTML
  • Faster design with fewer decisions
  • Full compatibility with Tailwind utilities for customization

Why Use NiraUI?

With NiraUI, you get:

  • ✅ Cleaner, more readable HTML
  • ⚡ Faster design with fewer class decisions
  • 🎨 Full compatibility with Tailwind utilities for deeper customization

Let’s look at the difference it makes.

🚫 Without NiraUI (Tailwind CSS only)

Here’s what a simple button looks like using pure Tailwind CSS:

It works but that’s a lot of classes for just one button.

✅ With NiraUI (Simplified)

Now, here’s the same button using NiraUI:

Same clean design. Way less clutter.

Your code stays lightweight and easy to maintain.

🔀 Using Variants

NiraUI includes ready-to-use variants for faster customization. For example:

This instantly applies your project’s primary color no manual color configuration needed.

Combining NiraUI with Tailwind Utilities

You’re not limited to NiraUI classes. You can still combine Tailwind utilities for extra control:

Here, NiraUI provides the base style (button) while Tailwind handles custom width and shape (w-64 and rounded-full ).

NiraUI was built for developers who love Tailwind’s flexibility but want faster, cleaner markup. Use it to streamline your workflow from quick prototypes to production-ready UIs.