BUI: Tailwind based React component library to build back-office platforms :rocket:
This product is a React ecosystem library designed for building back-office platforms like DD360. It is created by developers for developers and is currently in its stable version 6. The library offers various features for customizing themes and provides components that can be used in React applications.
To install the library, follow the steps below:
Install the package using npm:
npm install dd360-ds
Import the ThemeProvider component and the createTheme function from the library:
import { ThemeProvider, createTheme } from 'dd360-ds/theme';
Create your own theme configuration using the createTheme function:
const themeConfig = createTheme({
primaryColor: 'blue',
secondaryColor: 'green',
// other theme properties
});
Wrap your React app with the ThemeProvider and pass the theme configuration as a prop:
const App = () => {
return (
<ThemeProvider theme={themeConfig}>
{/* your app components */}
</ThemeProvider>
);
};
export default App;
The React ecosystem library for building back-office platforms like DD360 is a powerful tool for developers. It offers a stable version with various features and customization options. The installation process is straightforward, and the library provides components that can be easily used in React applications.