Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

@lion/button

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/button

A button that is easily styleable and accessible in all contexts

latest
Source
npmnpm
Version
0.18.1
Version published
Weekly downloads
2.1K
-6.16%
Maintainers
2
Weekly downloads
 
Created
Source

Button >> Overview ||10

A button web component that is easily stylable and accessible.

import { html } from '@mdjs/mdjs-preview';
import '@lion/button/define';
export const main = () => html` <lion-button>Default</lion-button> `;

Features

  • Clickable area that is bigger than visual size
  • A special button-reset and button-submit works with native form / inputs
  • button-submit has integration for implicit form submission similar to how native <form>, <input> and <button> work together.

Installation

npm i --save @lion/button
import { LionButton, LionButtonReset, LionButtonSubmit } from '@lion/button';
// or
import '@lion/button/define';

Keywords

button

FAQs

Package last updated on 08 Sep 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