New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flexcodelabs/button

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flexcodelabs/button

[![npm](https://img.shields.io/npm/v/@flexcodelabs/button)](https://www.npmjs.com/package/@flexcodelabs/button) [![NPM](https://img.shields.io/npm/l/@flexcodelabs/button)](https://www.npmjs.com/package/@flexcodelabs/button)

  • 0.1.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@flexcodelabs/button

npm NPM

Features

  • Loader
  • Disabled
  • Icon or Text or Both
  • can be used as link

Installation

npm install @flexcodelabs/button

or

yarn add @flexcodelabs/button

Usage

import Button from "@flexcodelabs/button";

<Button
  label="Button"
  style={{
    padding: 10,
    background: "black",
  }}
/>;

Examples

Source code

Props

NameTypeDefaultRequiredDescription
labelReactNode or string``falseButton content
styleCSSProperties``falseCustome styles
classNamestring``falseCustom classname
rippleboolean``falseWhether to add ripple effect on button click
disabledboolean``falseButton disabled status
typebutton or submit or reset or undefined``false
hrefstring``falsedestination for next projects
tostring``falsedestination for react router dom
Linkany``falsecan be Link from react router or next/link
loadingboolean``falsebuttonloading status

FAQs

Package last updated on 31 Jul 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc