Skip to content

newrelic/nr-labs-components

Community Project header

nr-labs-components

GitHub release (latest SemVer including pre-releases) Snyk

A library of React components and helpful utilities created by New Relic's Labs-Viz team, primarily for use in apps built for the New Relic One platform.

Installation

npm install --save @newrelic/nr-labs-components

Usage

Import styles.css in your stylesheet.

@import '~@newrelic/nr-labs-components/dist/styles.css';

Import components/utilities in you javascript.

import { COMPONENT_OR_UTILITY, COMPONENT_OR_UTILITY, ... } from '@newrelic/nr-labs-components';

Components

Allows users to select multiple options from a dropdown menu.

A modal component that allows for simple inclusion of support and documentation links within a New Relic app.

A component to support push notifications into a New Relic app.

Enable editing of the text content of HTML tags in the browser.

A component that renders a metric's name and value, and its up/down trend against a different time range.

A NRQL editor in the browser.

Displays a status icon.

A layout component for StatusIcon

A component that renders a progress bar.

Component that allows a user to filter options.

Component that displays a calendar to select a date

Component to select time values

Component to select date/time

Component to select time range

Utilities

A utility to convert the New Relic platform time range into a NRQL compliant clause.

Open Source License

This project is distributed under the Apache 2 license.

Support

New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.

We encourage you to bring your experiences and questions to the Explorers Hub where our community members collaborate on solutions and new ideas.

Community

New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices.

Issues / Enhancement Requests

Issues and enhancement requests can be submitted in the Issues tab of this repository. Please search for and review the existing open issues before submitting a new issue.

Contributing

Contributions are welcome (and if you submit a Enhancement Request, expect to be invited to contribute it yourself 😁). Please review our Contribution Guide.

Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. If you'd like to execute our corporate CLA, or if you have any questions, please drop us an email at opensource+nr-labs-components@newrelic.com.