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

@conectate/ct-button

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conectate/ct-button

HTML Button made with Web Components and Lit

  • 3.7.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

<ct-button>

Published on npm

Installation

npm install @conectate/ct-button
yarn add @conectate/ct-button

NOTE: Conectate Components are distributed as ES2020 JavaScript Modules, and use the Custom Elements API. They are compatible with all modern browsers including Chrome, Firefox, Safari, Edge, and IE11, but an additional tooling step is required to resolve bare module specifiers, as well as transpilation and polyfills for Edge and IE11.

Example usage

Standard

<ct-button value="value1"></ct-button>
<ct-button shadow value="value2"></ct-button>
<ct-button raised value="value3"></ct-button>
<ct-button flat value="value4"></ct-button>
<ct-button light value="value5"></ct-button>
<ct-button disabled value="value5"></ct-button>

<script type="module">
	import '@conectate/ct-button';
</script>

API

Slots

None

Properties/Attributes

NameTypeDefaultDescription
raisedbooleanfalseRaised Style (primary color)
shadowbooleanfalseShown with opaque black background.
flatbooleanfalseShown with a primary color border
lightbooleanfalseShown with a primary color border
disabledbooleanfalseIf true, Disable clicks

Methods

None

Events

NameDetailDescription
value{value : string}Fired when the user modifies the ct-input value state from an input device interaction on this radio.

CSS Custom Properties

Custom propertyDescriptionDefault
--color-primaryPrimary color#00aeff
--dark-primary-colorDark Primary color#00aeff
--ct-button-box-shadowBox-Shadow for hover0 2px 16px 4px rgba(99, 188, 240, 0.45)
--ct-button-shadow-color-rgba(64, 117, 187, 0.1)

Keywords

FAQs

Package last updated on 06 Jun 2023

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