vibe-ui-library
v1.1.2
Published
A Material Tailwind wrapper with vibrant pink theme
Maintainers
Readme
🎀 Vibe Tailwind Library
A Material Tailwind wrapper with a vibrant pink theme (#ff0080). Zero configuration needed - just wrap your app and go!
✨ Features
- 🎨 Pre-configured vibrant pink (
#ff0080) and electric purple (#9c27b0) theme - 📦 All Material Tailwind components re-exported
- 🚀 Zero configuration needed
- 💪 Full TypeScript support
- ⚡ ESM-only build (no CommonJS issues)
🤖 Schnellstart mit AI
Kopiere diesen Prompt und starte sofort durch:
Erstelle eine [Landingpage / App / Dashboard / Portfolio] für [Sneakers / Kaffeemarke / SaaS Startup / ...].
Nutze das npm package 'vibe-ui-library'.
Kopiere die AGENTS.md aus dem Repository als Context in dieses Projekt und befolge die Anweisungen dort.Oder noch einfacher - füge diese Regel zu deinem AI-Tool hinzu:
Nutze das Package
vibe-ui-libraryvongithub:movefastbreakthings/vibe-ui-libraryund befolge die Anweisungen in der AGENTS.md.
Die AGENTS.md enthält alle wichtigen Regeln für AI-Tools:
- ✅ Welche Komponenten verfügbar sind
- ✅ Wie die Farben (
color="pink"/color="purple") genutzt werden - ✅ Wie Icons importiert werden (
@heroicons/react) - ✅ Setup-Anweisungen für Vite + Tailwind
🎨 Color Palette
| Color | Hex | Usage |
| ------------------- | --------- | ------------------------------------ |
| 🩷 Primary Pink | #ff0080 | Primary actions, buttons, highlights |
| 💜 Secondary Purple | #9c27b0 | Secondary actions, accents |
| 🌸 Pink Light | #ff6eb4 | Gradients, hover states |
| 💟 Purple Light | #ce93d8 | Gradients, hover states |
📦 Installation
npm install vibe-tailwind-library @material-tailwind/react tailwindcss⚠️ Important:
@material-tailwind/reactandtailwindcssare peer dependencies and must be installed separately.
From GitHub (Latest)
npm install github:yourusername/vibe-tailwind-library @material-tailwind/react tailwindcss🚀 Quick Start
1. Configure Tailwind CSS
Update your tailwind.config.js:
import withMT from "@material-tailwind/react/utils/withMT";
export default withMT({
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/@material-tailwind/react/components/**/*.{js,ts,jsx,tsx}",
"./node_modules/@material-tailwind/react/theme/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
});2. Wrap Your App
import { VibeUIProvider } from "vibe-tailwind-library";
function App() {
return (
<VibeUIProvider>
<YourApp />
</VibeUIProvider>
);
}3. Use Components
import {
VibeUIProvider,
Button,
Card,
CardBody,
Typography,
Input,
} from "vibe-tailwind-library";
function MyComponent() {
return (
<Card>
<CardBody>
<Typography variant="h3">Hello Vibe!</Typography>
<Input label="Email" color="pink" />
<Button color="pink">Submit</Button>
<Button color="purple" variant="outlined">
Cancel
</Button>
</CardBody>
</Card>
);
}🧩 Available Components
All Material Tailwind components are available:
Layout
Card,CardBody,CardHeader,CardFooterAccordion,AccordionBody,AccordionHeaderCollapse,Drawer
Form Elements
Button,IconButton,ButtonGroupInput,Textarea,Select,OptionCheckbox,Radio,Switch,Slider
Navigation
Navbar,MobileNav,BreadcrumbsMenu,MenuHandler,MenuList,MenuItemTabs,TabsHeader,TabsBody,Tab,TabPanelStepper,Step
Feedback
Alert,Dialog,Popover,TooltipSpinner,Progress
Data Display
Avatar,Badge,ChipList,ListItem,ListItemPrefix,ListItemSuffixTimeline,TimelineItem,TimelineConnector,TimelineHeader,TimelineIcon,TimelineBodyTypography,Rating,Carousel
🎯 Icons
Icons should be imported separately from @heroicons/react:
import { HeartIcon } from "@heroicons/react/24/solid";
import { HeartIcon as HeartIconOutline } from "@heroicons/react/24/outline";
<Button color="pink" className="flex items-center gap-2">
<HeartIcon className="h-5 w-5" /> Like
</Button>;🔧 Alternative: Direct ThemeProvider
If VibeUIProvider causes issues, use the theme directly:
import { ThemeProvider } from "@material-tailwind/react";
import { vibeTheme } from "vibe-tailwind-library";
function App() {
return (
<ThemeProvider value={vibeTheme}>
<YourApp />
</ThemeProvider>
);
}📖 Live Demo
Check out the live demo: GitHub Pages Demo
🤖 AI Integration
See AGENTS.md for a prompt you can give to AI tools (ChatGPT, Claude, Cursor, v0.dev) to help them use this library correctly.
📝 License
MIT
