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