import { Button, Input } from 'react-compbook';
React Component Book UI UI is an open-source React component library, designed to offer a sleek, customizable, and easy-to-use collection of components for building modern user interfaces.
Install React Compbook UI in your project directory with:
npm install react-compbook
or with Yarn:
yarn add react-compbook
Once installed, you can start importing and using PixelReact components in your React application. Here's a quick example:
import { Button } from 'react-compbook';
function App() {
return (
<div>
<Button label="Button Label" variant="primary" />
</div>
);
}
export default App;
For detailed documentation and live examples, click here.
import { Button } from 'react-compbook';
function ExampleComponent() {
return <Button label="Click Me!" variant="primary" />;
}
React Component Book UI is licensed under the MIT License. Feel free to use it in your projects, both personal and commercial.