Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clearchannel/iris

Package Overview
Dependencies
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clearchannel/iris

Iris Component Library

  • 1.0.0-beta.35
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
393
increased by15.93%
Maintainers
5
Weekly downloads
 
Created
Source

Iris

A Clear Channel Outdoor display component library

Example NextJS Primitive Component Usage

To install

npm install @clearchannel/iris
// pages/_app.jsx
import { CCOThemeProvider } from '@clearchannel/iris'

const NextApp = ({ Component, pageProps }) => {
  <CCOThemeProvider>
    <Component {...pageProps} />
  </CCOThemeProvider>
}
export default NextApp
// pages/index.jsx
import Button from '@material-ui/core/Button'

const Index = () => <Button>
  Index just renders a static button with this
  awful message, how boring!
</Button>

export default Index

Storybook

Use Storybook to preview components and use hot reloading as you work.

Public: https://clearchanneloutdoor.github.io/iris/

Local:

npm run storybook

Overview

Iris comes in two types of components:

  • primitive
  • composed

Generally, primitive components will exist as direct implementations of Material UI components, with a dependency on Iris's CCOThemeProvider to provide extended theme properties.

Composed components (todo: make composed components) are housed in this package as individual exports. Create a composed component to produce reusable UI widgets that depend on multiple MUI components, state, or specific business logic.

Further Reading:

FAQs

Package last updated on 05 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc