@ucalgary-design-system/dropdown
v1.1.2
Published
A web component for Dropdown
Readme
Dropdown
This package provides the Dropdown web component.
Installation
Install the component using npm:
npm install @ucalgary-design-system/dropdownUsage
Import the component into your application:
import "@ucalgary-design-system/dropdown";Use the component in your HTML:
<ucds-dropdown></ucds-dropdown>💡 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-dropdownRun 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-dropdown