Customize Nira UI components
How to customize Nira UI?
Nira UI is built on Tailwind CSS, which means every component is flexible and easy to customize. You can extend designs using Tailwind utilities, custom CSS, or the @apply directive
How to Customize Nira UI
For example, the default Nira UI button:
You can instantly switch styles using built-in variants:
This keeps your code clean, readable, and theme-ready — perfect for scalable UI design.
Extend Components with Tailwind Utilities Classes
This gives you the flexibility of fine-grained control while keeping the simplicity of component class names.
Global Customization with Tailwind @apply directive
@apply
directive.This is useful when you want all components of a type (like buttons or cards) to share a global style.
@layer components { .button { @apply rounded-full bg-gradient-to-r from-orange-500 to-red-600; } }
Now, every .button
in your project will follow your global design rules automatically.