Lebify UI
A React component library inspired by Lebanese design elements and aesthetics.
Installation
npm install lebify-ui
yarn add lebify-ui
Usage
import { Button } from "lebify-ui";
function App() {
return (
<div>
<Button variant="primary" onClick={() => alert("Marhaba!")}>
Click Me
</Button>
</div>
);
}
Available Components
Button
<Button
variant="primary"
buttonType="filled"
size="medium"
disabled={false}
onClick={() => {}}
hoverEffect="default"
icon={<IconComponent />}
iconPosition="left"
iconOnly={false}
tooltip="Helpful text"
tooltipPosition="top"
borderRadius="medium"
loading={false}
loadingText="Loading..."
loadingSpinner="circle"
loadingPosition="left"
hideTextWhenLoading={false}
>
Button Text
</Button>
Card
<Card
title="Card Title"
variant="default"
elevated={false}
>
Card content goes here
</Card>
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT