Tired of writing endless lines of code just to create modern, stylish buttons? Struggling with how to implement them from scratch without spending hours on design and code? Say goodbye to the frustration! With uipack-manan, you can implement beautiful, fully customizable buttons and other UI components in just a few lines of code.
I’ve designed this package for developers and designers who want to skip the hassle of manual styling and focus more on what matters. Whether you're a beginner or an experienced coder, uipack-manan makes it easy to build professional, eye-catching UI components without the overwhelming complexity. Customize the button’s style, toggle tooltips, select different variants, and even add a magical touch with our unique magic star button. All with minimal code!
Check out a working demo of uipack-manan in action on CodeSandbox! Demo.
- Customizable Button Component
- Easy-to-use Button Variants
- Tooltip Toggle
- Magic Star Button (For an extra surprise!)
And the best part? You can do all of this in less code than ever before!
Install uipack-manan
via npm:
npm install uipack-manan
Then, import the Button component in your project:
import { Button } from "uipack-manan";
Prop | Type | Default | Description |
---|---|---|---|
style |
React.CSSProperties |
{} |
Custom styles for the button. |
onClick |
() => void |
undefined |
Custom click handler function. |
tooltipText |
string |
"" |
Tooltip text to show on hover. |
tooltip |
boolean |
false |
Enable tooltip to show on hover. |
variant |
"default" | "uplift" | "slide" | "pop" | "shine" |
"default" |
Choose a button style variant. |
magic |
boolean |
false |
Enable the magic star button effect. |
Our button component is fully customizable and supports various features like:
- Custom styling
- Custom onClick actions
- Tooltip visibility toggle
- Multiple button variants
- Magic button with an animation effect
Here’s how you can use the Button component:
<Button
variant="uplift"
style={{ backgroundColor: 'blue', color: 'white' }}
tooltip={true}
tooltipText="This is a button"
onClick={() => console.log("Button clicked!")}
magic={false}
> Click Me
</Button>
My package offer 6 eye-catching button variants that you can easily use with a single prop!
- default
- uplift
- slide
- pop
- shine
Want to add a little magic
to your buttons? Set the magic prop to true
and see the transformation into a dazzling magic star button!
<Button
magic={true}
onClick={() => console.log("Magic Clicked!")}
Hover Me for Magic </Button>
- Custom Styling: Customize the button’s styles using the style prop.
- Variants: Choose from 6 different variants to fit the look of your app.
- Tooltip: Toggle the tooltip visibility using the tooltip prop.
- Easy Customization: Add any custom onClick function to handle user interactions.
- Magic Button: Activate a magical star effect with the magic prop.
- Clone the repository:
git clone https://github.com/manan5657/uipack-manan
- Install dependencies:
npm install
- Start the development server:
npm start
uipack-manan
is licensed under the MIT License.
Have questions or need help? Feel free to open an issue or reach out to Manan Bhasin directly.
Start building with uipack-manan
today and transform your React development experience! 🌟