Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.5 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.5 KB

Bootstrap React Logic

BRL is a React component library integrated with Bootstrap, offering a set of components and utilities to help developers build user interfaces in React applications, enhancing development efficiency.

简体中文

Features

  • Bootstrap Integration: Consistent with Bootstrap UI elements, ensuring unified appearance and behavior.
  • Built with React: Components are built using React, following React development patterns, making them easy to integrate and maintain.

Installation

Before installation, ensure that Bootstrap is already installed in your project. You can install it via npm:

npm install bootstrap-react-logic

Usage

Import Bootstrap styles: To ensure BRL components are styled correctly, first import the global CSS file:

import 'bootstrap-react-logic/dist-lib/bootstrap-react-logic.css';

Import and use BRL components: Now you can use the components provided by BRL just like any other React component. For example, to use the Button component:

import { Button } from 'bootstrap-react-logic';

<Button variant="primary">Primary</Button>;

Available Components

For more examples and complete component documentation, please refer to the documentation.

Demo Project

See an example of using BRL in the project: prepforge

License

MIT