Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@infinitoui/infinito-button

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinitoui/infinito-button

button

  • 1.6.5
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

@infinitoui/infinito-button

Downloads per month NPM Version TypeScript

Preview

preview

Demo

Install

npm install @infinitoui/infinito-button

Usage

引入组件:

import '@infinitoui/infinito-button'

使用:

<infinito-button>default</infinito-button>
<infinito-button primary>primary</infinito-button>

Properties

PropertyAttributeTypeDefaultDescription
disableddisabledbooleanfalse是否禁用按钮
labellabelstring""按钮文字

Events

EventDescription
click按钮点击事件

Slots

NameDescription
默认插槽,按钮文字或者其他html标签

CSS Custom Properties

PropertyDefaultDescription
--border-color"#333"border颜色
--border-radis"6px"圆角
--button-color"#fff"背景颜色
--button-padding"0 8px"内间距
--fonts-size"14px"字体大小
--hover-color"#333"hover时按钮背景颜色
--hover-font-color"#fff"hover时文字颜色

Keywords

FAQs

Package last updated on 09 Mar 2021

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