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

@coffeekraken/s-theme-switcher-component

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coffeekraken/s-theme-switcher-component

Simple web component that let you switch theme(s) and variant(s) when using the Coffeekraken toolchain like the @coffeekraken/s-postcss-sugar-plugin, etc...

  • 2.0.0-alpha.19
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

{{#> layout-readme }}

SClipboardCopyComponent

This package expose a simple SClipboardCopyComponent custom element that you can define and use in your pages easily.

Features

  • Framework agnostic. Simply webcomponent.
  • Set a "from" target that will be copied in the clipboard on click
  • Default icons for "copy", "copied", and "error"
  • Responsive props see more
  • And more...

Usage

First, simply import and define the component in your js/ts file:

import { define } from '@coffeekraken/s-clipboard-copy-component';
define();

Make use of it in your pages:

<input type="text" value="Hello world" id="my-input" />
<s-clipboard-copy from="my-input"></s-clipboard-copy>

Attributes

{{> interface namespace='@coffeekraken.s-clipboard-copy-component.js.interface.SClipboardCopyComponentInterface' }}

API

For more information about the API, please check out the API documentation

{{/ layout-readme }}

FAQs

Package last updated on 16 Aug 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