zathura-react-design-system
v0.1.3
Published
A modern React component library built with Tailwind CSS, and TypeScript
Maintainers
Readme
React Design System
A comprehensive, production-ready React component library built with TypeScript and Tailwind CSS. Designed for modern web applications with a focus on accessibility, performance, and developer experience.
✨ Features
- 🎨 16+ Production-Ready Components - Comprehensive component library
- 📘 TypeScript First - Full type safety and IntelliSense support
- 🎭 Storybook Documentation - Interactive component playground
- 🎯 Tailwind CSS - Utility-first styling with customization
📦 Installation
npm install @zathura-db/react-design-systemyarn add @zathura-db/react-design-systempnpm add @zathura-db/react-design-systemTailwind CSS Setup
If using Tailwind CSS, add the package to your tailwind.config.js:
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/@zathura-db/react-design-system/**/*.{js,ts,jsx,tsx}",
],
// ...rest of your config
};🚀 Quick Start
import { Button } from "@zathura-db/react-design-system";
function App() {
return (
<div>
<Button baseColour="orange" buttonSize="large" onClick={() => alert("Clicked!")}>
Click Me
</Button>
);
}For implementation examples, please see Zathura React Design System Github each component has stories which outline its usage.
📚 Components
Layout
- Footer - Customizable page footer
- Section - Page section wrapper with styling options
Interactive Elements
- Button - Multiple variants and sizes with loading states
- LinkText - Styled link component with Next.js support
- DropDown - Accessible dropdown menu
- DirectionButtons - Navigation direction controls
- Pagination - Customizable pagination controls
Content Display
- InformationCard - Card components for displaying information
- ProjectTile - Project display tiles with hover effects
- Timeline - Vertical/horizontal timeline component
- Carousel - Image/content carousel with controls
- Chart - Data visualization charts (powered by Chart.js)
Visual Effects
- AnimatedText - Text animation effects
- StarBackground - Animated particle background
🔧 Development
Clone and Install
git clone https://github.com/zathura-db/react-design-system.git
cd react-design-system
npm installAvailable Scripts
# Start Storybook development server
npm run storybook
# Build Storybook static site
npm run build-storybook
# Build the package
npm run build
# Lint code
npm run lint🛠️ Tech Stack
- React 18 - Modern React with hooks
- TypeScript - Static type checking
- Tailwind CSS - Utility-first CSS framework
- Storybook 10 - Component documentation
📄 License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.
Commercial Use: For commercial licensing options, please raise issue using github.
See licence.txt for the full license text.
🤝 Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes and add tests
- Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
Note: Direct pushes to the master branch are restricted. All contributions must be made through pull requests.
🐛 Bug Reports
Found a bug? Please open an issue with:
- Description of the bug
- Steps to reproduce
- Expected behavior
- Screenshots (if applicable)
- Environment details (OS, browser, Node version)
