@tektoncd/dashboard-components v0.30.0-alpha.3
@tektoncd/dashboard-components
React components for the Tekton Dashboard
Getting started
To install @tektoncd/dashboard-components in your project, you will need to run the following
command using npm:
npm install -S @tektoncd/dashboard-componentsIf you prefer Yarn, use the following command instead:
yarn add @tektoncd/dashboard-componentsYou will also need to install the Carbon packages which provide the base styling and components:
This package requires Dart Sass in order to compile styles.
If you're new to Sass, we recommend checking out the following resources and links:
For info on how to configure Sass for your project, here are some common frameworks' documentation worth reviewing:
Or if you're just using a bundler:
Or anything else not listed above:
Usage
The @tektoncd/dashboard-components package provides components and icons used by the Tekton Dashboard.
To use a component, you can import it directly from the package:
import { StatusIcon } from '@tektoncd/dashboard-components';
function MyComponent() {
return <StatusIcon status="Unknown" reason="Pending" />;
}To include the styles for a specific component:
@import '@tektoncd/dashboard-components/src/components/StatusIcon/StatusIcon.scss';For a full list of components available, checkout our Storybook.
📖 API Documentation
If you're looking for @tektoncd/dashboard-components API documentation, check out:
🙌 Contributing
We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Code samples are licensed under the Apache 2.0 License.
10 months ago
11 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago