Socket
Socket
Sign inDemoInstall

@spectrum-web-components/clear-button

Package Overview
Dependencies
Maintainers
7
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/clear-button

Web component implementation of a Spectrum design ClearButton


Version published
Maintainers
7
Created
Source

Description

Usage

See it on NPM! How big is this package in your project?

yarn add @spectrum-web-components/clear-button

Import the side effectful registration of <sp-clear-button> via:

import '@spectrum-web-components/clear-button/sp-clear-button.js';

When looking to leverage the ClearButton base class as a type and/or for extension purposes, do so via:

import { ClearButton } from '@spectrum-web-components/clear-button';

Example

<sp-clear-button></sp-clear-button>

Keywords

FAQs

Package last updated on 22 Feb 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