LUI (Landbot UI) ✨
A UI component library is a robust set of ready-made UI components such as buttons, inputs, dialogs, scrolling lists, and more.
npm install
npm run storybook
For more information about Storybook, please visit the Storybook website.
Component tests are written using Jest and React Testing Library.
npm run test
Package is built using Rollup. The build is configured to generate an ES module
(esm
) package.
npm run build
npm install @landbot/lui
Import on the root of the project
import { ThemeProvider } from 'styled-components';
import { theme } from '@landbot/lui';
Wrap the project with the provider
const App = () => {
return (
<ThemeProvider theme={theme}>
<div className="App">//react app</div>
</ThemeProvider>
);
};