edvixo-ui
v1.0.11
Published
Reusable UI components for microfrontends
Readme
🙏 Namaste — Welcome to edvixo-ui
edvixo-ui is a reusable UI component library built for modern Next.js Microfrontend Applications.
It provides production-ready components powered by React + Tailwind CSS that can be shared across multiple apps, repositories, and deployments.
📦 NPM Package
👉 https://www.npmjs.com/package/edvixo-ui
Install:
npm install edvixo-uior
yarn add edvixo-ui🚀 For Users (Using edvixo-ui in Your App)
1️⃣ Install Package
npm install edvixo-ui2️⃣ Requirements
Your project must have:
- ✅ Next.js 14+
- ✅ React 18+
- ✅ Tailwind CSS installed
3️⃣ Configure Next.js
next.config.ts
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
transpilePackages: ["edvixo-ui"],
};
export default nextConfig;Restart server after adding this.
4️⃣ Tailwind Setup (Important)
Make sure Tailwind scans the library components.
Tailwind v4 users:
app/globals.css
@import "tailwindcss";
/* allow Tailwind to detect classes from edvixo-ui */
@source "../node_modules/edvixo-ui/dist";5️⃣ Use Components
import { StepsProduct } from "edvixo-ui";
export default function Page() {
return <StepsProduct />;
}✅ Styles apply automatically ✅ No CSS imports required
🧑💻 For Contributors
We welcome contributions 🙌
1️⃣ Clone Repository
git clone https://github.com/Abhimanyupayasi/edvixo-ui.git
cd edvixo-ui
npm install2️⃣ Local Development Setup
Build library in watch mode:
npm run devThis automatically rebuilds /dist when components change.
3️⃣ Link Package Locally (npm link)
Register package globally
Inside edvixo-ui:
npm linkConnect with Playground / App
Inside your testing app:
npm link edvixo-uiNow the app uses your local package.
✅ Live development ✅ Instant testing
4️⃣ Develop Components
Create components inside:
src/components/Export them from:
src/index.tsExample:
export { default as StepsProduct } from "./components/StepsProduct";5️⃣ Build Before Publishing
npm run buildOutput will be generated in:
dist/6️⃣ Publish New Version
Update version:
npm version patchPublish:
npm publish --access public🔁 Contribution Workflow
Create component
↓
Test using npm link
↓
Build package
↓
Increase version
↓
Publish to npm🏗 Project Structure
edvixo-ui
│
├── src/
│ ├── components/
│ └── index.ts
│
├── dist/ (auto generated)
├── package.json
└── tsconfig.json🎯 Goals of edvixo-ui
- Shared UI across microfrontends
- Reusable design system
- Independent deployments
- Clean Tailwind integration
- Zero global CSS conflicts
🤝 Contributing Guidelines
Please:
- Follow existing component patterns
- Use Tailwind utility classes
- Keep components reusable
- Avoid app-specific logic
- Test with
npm linkbefore publishing
🛠 Development Commands
| Command | Purpose | | ------------- | ---------------- | | npm run dev | Watch mode build | | npm run build | Production build | | npm publish | Publish package |
❤️ Made for Microfrontend Architecture
edvixo-ui is designed for:
- Shell Applications
- Independent Micro Apps
- Multi-Repo Systems
- Cloud Deployments
🙏 Thank You
Namaste and thank you for contributing to edvixo-ui.
Let’s build scalable UI systems together 🚀
