npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@carrier-dpx/air-react-library

v0.7.35

Published

Air web React component library for Figma Make

Readme

Air React Library

Air web React component library for Figma Make integration.

Installation

npm install @carrier-dpx/air-react-library

Peer Dependencies

This library requires the following peer dependencies:

npm install react react-dom @mui/material @emotion/react @emotion/styled

Usage

Quick Start with Theme

Important: To get the correct Carrier DPX colors and styling, wrap your app with the FleetThemeProvider:

import { Button, FleetThemeProvider } from '@carrier-dpx/air-react-library';

function App() {
  return (
    <FleetThemeProvider theme="AirLight">
      <Button
        variant="contained"
        color="primary"
        size="large"
        onClick={() => console.log('clicked')}
      >
        Get Started
      </Button>
    </FleetThemeProvider>
  );
}

Available Themes

  • "AirLight" - Light theme (default)
  • "AirDark" - Dark theme
  • "AHP" - AHP theme

Button Component

import { Button } from '@carrier-dpx/air-react-library';

function App() {
  return (
    <Button
      variant="contained"
      color="primary"
      size="large"
      onClick={() => console.log('clicked')}
    >
      Get Started
    </Button>
  );
}

Available Props

Button

  • variant: "contained" | "outlined" | "text" (default: "contained")
  • color: "base" | "primary" | "secondary" | "error" | "warning" | "success" | "info" (default: "primary")
  • size: "xlarge" | "large" | "medium" | "small" | "xsmall"
  • shape: "rounded" | "circular" (default: "rounded")
  • disabled: boolean
  • startIcon: ReactNode - Icon to display before the button text
  • endIcon: ReactNode - Icon to display after the button text
  • onClick: () => void - Click handler
  • All standard Material-UI Button props

Typography Component

import { Typography } from '@carrier-dpx/air-react-library';

function App() {
  return (
    <>
      <Typography variant="h1">Heading 1</Typography>
      <Typography variant="body1">Regular body text</Typography>
      <Typography variant="body1Semibold">Semibold body text</Typography>
      <Typography variant="caps2">UPPERCASE TEXT</Typography>
    </>
  );
}

Available Typography Variants

  • Headings: h1, h2, h3, h4, h5, h6
  • Body: body1, body1Semibold, body1Bold, body2, body2Semibold, body2Bold, body3, body3Semibold, body3Bold
  • Caps: caps1, caps1Bold, caps2, caps2Bold, caps3, caps3Bold, caps4, caps4Bold
  • All standard Material-UI Typography props

TextField Component

import { TextField } from '@carrier-dpx/air-react-library';

function App() {
  return (
    <>
      <TextField
        label="Email"
        placeholder="Enter your email"
        size="large"
        showBorder
      />
      <TextField
        label="Password"
        type="password"
        placeholder="Enter your password"
        size="large"
        error
        helperText="Password is required"
      />
    </>
  );
}

Available TextField Props

  • size: xlarge, large (default), medium, small
  • color: primary, error, success, warning, info
  • error: boolean - Shows error state
  • disabled: boolean - Disables the field
  • showBorder: boolean - Shows border around field
  • hideBackgroundColor: boolean - Removes background color
  • characterCounter: boolean - Shows character count
  • characterMax: number - Max character limit
  • All standard Material-UI TextField props

Figma Integration

This library is integrated with Figma Code Connect. When using Figma Make, components from this library will be automatically suggested and used in generated code.

Components

Currently available components:

  • Button - Material-UI based button component with Carrier DPX design system styling
  • Typography - Text component with all Carrier DPX typography variants (h1-h6, body1-3, caps, etc.)
  • TextField - Input field component with Carrier DPX styling (supports multiple sizes, colors, validation states)
  • Link - Hyperlink component with typography variants and underline options
  • Divider - Horizontal and vertical divider lines (with optional text labels)
  • Copyright - Copyright notice component (automatically adds © and current year)

More components coming soon!

License

MIT

Repository

https://github.com/Carrier-DPX/air-react-library