import { Button, Input } from 'pixel-react';
PixelReact 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 PixelReact UI in your project directory with:
npm install pixel-react
or with Yarn:
yarn add pixel-react
Once installed, you can start importing and using PixelReact components in your React application. Here's a quick example:
import { Button } from 'pixel-react';
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 'pixel-react';
function ExampleComponent() {
return <Button label="Click Me!" variant="primary" />;
}
PixelReact UI is licensed under the MIT License. Feel free to use it in your projects, both personal and commercial.