@salesforce-ux/slds-button-stateful

0.4.10 • Public • Published

Getting Started

About

The button stateful component for the Salesforce Lightning Design system.

Installation

npm i @salesforce-ux/slds-button-stateful

Usage

Lightning Web Component

Import the CSS

After installation, you need to import the component's CSS into your LWC component module. To do this, use the @import CSS syntax within the CSS file of your component module.

/* myComponent.css */
@import '@salesforce-ux/slds-button/dist/button-stateful.compiled.css'

The *.compiled.css files in the /dist folder have all the component's dependencies rolled up into one file. If you choose to import your modules explicitly, you should the *.css files in the /dist folder.

/@salesforce-ux/slds-button-stateful/

    Package Sidebar

    Install

    npm i @salesforce-ux/slds-button-stateful

    Weekly Downloads

    2

    Version

    0.4.10

    License

    SEE LICENSE IN README.md

    Unpacked Size

    73.6 kB

    Total Files

    15

    Last publish

    Collaborators

    • salesforce-ux