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

@responsive-ui/button

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@responsive-ui/button

A button component of responsive-ui.

  • 0.16.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
Maintainers
1
Weekly downloads
 
Created
Source

@responsive-ui/button

A button component of responsive-ui.

Svelte v3 npm Bundle Size download LICENCE

Install

npm install @responsive-ui/button

or

yarn add @responsive-ui/button

Look and Feel

@responsive-ui/button

Properties, Events & Slots

interface ButtonProps {
  label?: string;
  name?: string;
  type?: "button" | "submit" | "reset";
  class?: string;
  disabled?: boolean;
  form?: string;
  style?: string;
}

interface ButtonEvents {
  click?: any;
}

interface ButtonSlots {
  default: {};
}

declare class Button extends SvelteComponentTyped<
  ButtonProps,
  ButtonEvents,
  ButtonSlots
> {}

Example

<script>
  import Button from '@responsive-ui/button';

  const onClick = () => {
    console.log("clicked!");
  }
</script>

<Button label="Click me" on:click={onClick}></Button>

Try it yourself in Svelte Repl

Sponsors

WeTix

License

@responsive-ui/button is 100% free and open-source, under the MIT license.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub NPM

Keywords

FAQs

Package last updated on 14 Apr 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