/web-components

Qiskit Web Components

Primary LanguageTypeScriptMIT LicenseMIT

Important

This repository is unmaintained and the content in qiskit.org has been superseded by the IBM Quantum | Community page. These source files are no longer maintained and may contain omissions or outdated information. Contributions to this repo are no longer accepted.

Qiskit Components

Qiskit Components is a future-looking project to develop Qiskit design system based around Web Components, ES Modules, and modern browser standards.

Usage

Prerequisites

Install

npm install @qiskit/web-components

Example

import '@qiskit/web-components/banner';
<qiskit-banner>We have an important announcement!</qiskit-banner>

Contributing

Prerequisites

Furthermore, this project is built on TypeScript with the intention of improving the developer experience.

Install the dependencies

npm install

Start the development server (with Storybook)

This command serves the app at http://localhost:8000:

npm start

Running the tests

This command runs the tests:

npm test