Negating Past Mistakes

    @lion/button
    TypeScript icon, indicating that this package has built-in type declarations

    0.17.0 • Public • Published

    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';

    Install

    npm i @lion/button

    DownloadsWeekly Downloads

    1,494

    Version

    0.17.0

    License

    MIT

    Unpacked Size

    76.1 kB

    Total Files

    26

    Last publish

    Collaborators

    • narzac
    • d4kmor