@ucalgary-design-system/icon-button
v1.0.5
Published
A web component for IconButton
Readme
IconButton
This package provides the IconButton web component.
Installation
Install the component using npm:
npm install @ucalgary-design-system/icon-buttonUsage
Import the component into your application:
import "@ucalgary-design-system/icon-button";Use the component in your HTML:
<ucds-icon-button></ucds-icon-button>💡 Our components automatically load global design tokens when first used. You don’t need to import them manually!
Development
Build the component:
npm run buildAlternatively, build from the monorepo root:
npm run build -w @ucalgary-design-system/ucds-icon-buttonRun storybook from the monorepo root.
Testing
Run the test from this package:
npm run testAlternatively, run the tests from the monorepo root:
npm run test -w @ucalgary-design-system/ucds-icon-button