npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-craftify-buttons

v0.0.23

Published

Collection of components and render prop containers relating to buttons in the React Donia crafitify Design System

Downloads

753

Readme

react-craftify-buttons

A collection of creative and customizable button components for React applications.

Features

  • 🎨 Beautifully designed buttons
  • 🛠️ Easily customizable with CSS classes
  • ⚙️ Flexible configuration options
  • 📦 Lightweight and dependency-free

Installation

Install the package using npm:

npm react-craftify-buttons

How to use it ?

There are 35 button components listed in the provided code snippet.

Available Button Components

This library provides a wide variety of button components that you can easily integrate into your React projects. Here's a list of the available button components:

  • SecondaryButton
  • AnimatedButton
  • ButtonGroup
  • DiagonalSwipeButton
  • GenerateBtn
  • PrimaryButton
  • ShakeButton
  • StyledButton
  • TertiaryButton
  • CustomIconButton
  • CustomStyledButton
  • FancyArrowButton
  • FancyGradientButton
  • FancyLetterSpacingButton
  • FancyOutlineButton
  • FancyShadowButton
  • GradientBorderButton
  • HoverEffectButton
  • Lovebtn
  • RefreshButton
  • MacOsButton
  • PaperButton
  • ScottButton
  • GradientGemButton
  • GoogleButton
  • LinkedinButton
  • CoinbaseButton
  • AppleButton
  • StripeButton
  • AmazonButton
  • BlobButton
  • BoscockButton
  • Button51
  • ConicButton
  • PinturaButton
  • ThreeDButton

Feel free to explore and experiment with these button components to enhance the user experience in your React applications!

import React from 'react';
import { 
  PrimaryButton,
  SecondaryButton,
  AnimatedButton,
  ButtonGroup,
  DiagonalSwipeButton,
  GenerateBtn,
  // Add more imports for other buttons
} from 'react-craft-buttons';

const MyComponent = () => {
  return (
    <div>
      <PrimaryButton onClick={() => console.log('Primary button clicked')}>
        Click Me
      </PrimaryButton>
      <SecondaryButton>Secondary</SecondaryButton>
      <AnimatedButton>Animated</AnimatedButton>
      <ButtonGroup>Group</ButtonGroup>
      <DiagonalSwipeButton>Swipe</DiagonalSwipeButton>
      <GenerateBtn>Generate</GenerateBtn>
      {/* Add more buttons here */}
    </div>
  );
};

export default MyComponent;

Contributing

Contributions are welcome! If you'd like to contribute to the React Craft Buttons project, we encourage you to get involved. Whether you have bug reports, feature requests, or code enhancements, your input is valuable.

Bug Reports and Feature Requests

If you encounter any bugs or have ideas for new features, please open an issue. Provide detailed information about the bug or feature, and use appropriate labels to categorize it.

Pull Requests

We appreciate contributions from the community. If you'd like to contribute code changes, you can do so by following these steps:

  1. Fork the repository to your GitHub account.
  2. Create a new branch from the main branch for your changes.
  3. Make your code enhancements or bug fixes on this branch.
  4. Commit your changes with clear and concise messages.
  5. Push the changes to your forked repository.
  6. Open a pull request against the main repository's branch.

Please ensure that your code follows the project's coding style and passes the existing tests and linting checks.

By contributing, you'll be helping to improve the library for everyone in the community. We're grateful for your support!

License

This project is licensed under the MIT License - see the LICENSE file for details.