Package Exports
- goblin-ui
- goblin-ui/dist/style.css
Readme
Goblin UI - A React Component Library
Goblin UI is a lightweight and simple React UI library designed for the React-Tailwind ecosystem. It is built with React, Vite, TypeScript, and Tailwind CSS to provide a seamless development experience. The library is open source, and anyone can use it freely to enhance their React applications.
Note: Anybody using thing library would still need to install React, Vite, Tailwind CSS, if they want to use these tech in their own created components. This library provides react components with set of flexibility only.
Features
- Simple and lightweight React components
- Built with Vite, TypeScript, and Tailwind CSS
- Seamless integration with React-Tailwind ecosystem
Live Preview
Explore the components live on Chromatic.
Getting Started
Installation
npm install goblin-uior
yarn add goblin-uiUsage
import { Button } from "goblin-ui";
import "goblin-ui/dist/style.css"; // Import it once in the root of your repo.
const App = () => {
return (
<div>
<Button title="Click me" />
</div>
);
};Development
Scripts
npm start: Run Storybook for component developmentnpm build: Build the librarynpm lint: Lint the code using ESLintnpm build:storybook: Build Storybook for deploymentnpm chromatic: Deploy and test components on Chromatic
Folder Structure
lib/: Library source codestories/: Storybook storiesdist/: Distribution files
Contribution
Feel free to contribute to Goblin UI by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated.
License
Goblin UI is licensed under the MIT License - see the LICENSE.md file for details.