New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mints/ui

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mints/ui

A modern React UI component library built with Tailwind CSS

latest
Source
npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

Mints UI

A minimalist React component library based on Tailwind CSS.

✨ Features

  • 🌿 Minimal & Clean – No extra dependencies beyond Tailwind.
  • SSR Compatible – Works seamlessly with Next.js and other SSR frameworks.
  • 🎨 Fully Stylable – Designed to fit into your Tailwind theme easily.

📦 Installation

npm install @mints/ui

🚀 Quick Start

Make sure Tailwind CSS is properly configured in your project.

import { Button } from '@mints/ui';

export default function App() {
  return <Button>Click me</Button>;
}

⚠️ Tailwind CSS Content Configuration

If you're using Tailwind CSS v3 or v4, you need to explicitly include @mints/ui in your Tailwind content array so that Tailwind can detect all class names used by the library.

Tailwind CSS v3

In your tailwind.config.js or tailwind.config.ts:

export default {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/@mints/ui/dist/**/*.js', // 👈 Required for Mints UI
  ],
  // ... your theme/plugins/etc
};

Tailwind CSS v4

Tailwind CSS v4 introduced the @config directive for content-aware builds. If you're using Tailwind v4 with a CSS entry file (like main.css), make sure to declare your config path at the top of the file:

@config "../tailwind.config.js";

Without this, Tailwind won’t be able to access your configuration and may purge styles used in @mints/ui.

Also confirm your tailwind.config.js includes the following:

export default {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/@mints/ui/dist/**/*.js', // 👈 Required for Mints UI
  ],
};

This ensures Tailwind correctly processes class names inside third-party packages like @mints/ui.

📚 Documentation

👉 View full Storybook

📄 License

MIT

Keywords

react

FAQs

Package last updated on 16 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts