New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-modern-button

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modern-button

A simple, reusable button component for React and Next.js

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
0
Created
Source

React Modern Button

A simple, reusable, and customizable button component for React and Next.js. Designed to be responsive, lightweight, and developer-friendly, while allowing users to override styles to meet their specific needs.

🚀 Features

  • 🌟 Customizable Styles: Use className or style props to tailor the design.
  • 📱 Responsive: Default styles are designed to look great on all devices.
  • Optimized for React & Next.js: Seamlessly integrates with modern frameworks.
  • 🏋️ Lightweight: Minimal bundle size with tree-shaking support.
  • 🔧 Easy to Use: Intuitive props and flexible APIs for fast implementation.

📦 Installation

Install the package via npm or yarn:

# Using npm
npm install react-modern-button

# Using yarn
yarn add react-modern-button


🔥 Quick Start
Here's how to get started with react-modern-button:

import React from "react";
import { Button } from "react-modern-button";
import "react-modern-button/dist/index.css"; // Import default styles

const App = () => (
  <div>
    <h1>React Modern Button</h1>
    <Button
      label="Click Me"
      color="primary"
      onClick={() => alert("Button clicked!")}
    />
  </div>
);

export default App;


## 📖 Documentation

Explore the documentation:

- [Installation Guide](https://github.com/subodhsingh001/react-modern-button/blob/main/docs/installation.md)
- [Quick Start](https://github.com/subodhsingh001/react-modern-button/blob/main/docs/quick-start.md)
- [Customization](https://github.com/subodhsingh001/react-modern-button/blob/main/docs/customization.md)
- [API Reference](https://github.com/subodhsingh001/react-modern-button/blob/main/docs/dynamic.md)


Keywords

react

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts