@dreamcatalystventures/akariui-bs-react
v1.0.0
Published
A basic styled components library wrapper for bootstrap to be used in any react project
Readme
AkariUI-Bs-React (Akari UI Bootstrap React)
Akari UI is a lightweight React.js component library built with Bootstrap. It provides a set of customizable and reusable components to accelerate your development process while maintaining a consistent design system.
Features
- Responsive Design: Leverages Bootstrap’s responsive grid system and utilities.
- Customizable: Easy to style and extend components to fit your project’s design.
- Lightweight: Minimal dependencies for optimized performance.
- Ready-to-Use Components: Includes a growing collection of common UI elements.
Installation
Install akariui-bs-react via npm:
npm install @dreamcatalystventures/akariui-bs-reactOr with yarn:
yarn add @dreamcatalystventures/akariui-bs-reactPeer Dependencies
Usage
Import Bootstrap CSS in your
index.jsorApp.jsfile:import 'bootstrap/dist/css/bootstrap.min.css';Import and use Akari UI components in your application:
import React from 'react'; import { Button } from 'akari-ui'; const App = () => { return ( <div className="container"> <h1>Welcome to Akari UI</h1> <Button variant="primary">Click Me</Button> </div> ); }; export default App;
Components
Button
A versatile button component with support for different styles and sizes.
Props:
variant(string): Button style (e.g.,primary,secondary,success, etc.).size(string): Button size (sm,lg).disabled(boolean): Disable the button.
Example:
<Button variant="success" size="lg">Submit</Button>Card
A flexible card component for displaying content.
Props:
title(string): Card title.text(string): Card text.imgSrc(string): Image source URL for the card.
Example:
<Card
title="Card Title"
text="This is a simple card example."
imgSrc="https://via.placeholder.com/150"
/>Additional Components
Check the documentation for details on all available components.
Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature/fix.
- Submit a pull request with a detailed description of your changes.
License
Akari UI is licensed under the MIT License. See the LICENSE file for more information.
Contact
For issues, questions, or suggestions, please open an issue in this repository or contact us at [email protected].
