Currently in active development, Bugg-ui is a UI component library for React built with TypeScript and Tailwind CSSβdesigned for rapid development and scalability.
Originally created for personal use, it has become a foundational toolkit for various projects. Now, it's freely available to anyone looking to integrate it into their workflow.
npm install @bugg-m/bugg-ui
# or
yarn add @bugg-m/bugg-ui
Follow the Tailwind CSS installation guide to configure Tailwind CSS in your project.
Add the following directive to your root CSS file (e.g., index.css
)
@import '@bugg-m/bugg-ui/style.css';
Alternatively, import it in your root app file (e.g., index.tsx
)
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './index.css';
import '@bugg-m/bugg-ui/style.css';
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>
);
// Importing components from Bugg-ui
import { Button, Input, Card } from '@bugg-m/bugg-ui';
function App() {
return (
<Card>
<h1>Welcome to Bugg-ui</h1>
<Input placeholder='Enter your name' />
<Button variant='primary'>Get Started</Button>
</Card>
);
}
For advanced usage, see our full documentation.
Bugg-ui provides versatile components, including:
Check out live examples and code snippets in Storybook.
Visit our Documentation Site for details about:
# Clone the repository
git clone https://github.com/bugg-m/bugg-ui.git
# Install dependencies
npm install
# Run the development server
npm run dev
# Start Storybook
npm run storybook
# Build for production
npm run build
We welcome contributions! Check out our Contributing Guide for guidelines on how to contribute.
Licensed under the MIT License.
If you encounter any issues or have questions, feel free to: