New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@britannica/ui

Package Overview
Dependencies
Maintainers
0
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@britannica/ui

Consumer style system

  • 1.20.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@britannica/ui

Consumer style system and React component library

Storybook: https://britannica.github.io/consumer-ui

Installation and Basic Usage

npm install @britannica/ui

Include the CSS

Via JavaScript:

// Your app's main application file. e.g. index.js or App.js
import '@britannica/ui/dist/britannica-ui.css';

Via CSS:

@import '~@britannica/ui/dist/britannica-ui.css';

Via HTML:

<!-- You can specify a specific version -->
<link href="https://unpkg.com/@britannica/ui@0.2.5/dist/britannica-ui.css" rel="stylesheet" />

<!-- Or if you always want the latest -->
<link href="https://unpkg.com/@britannica/ui@latest/dist/britannica-ui.css" rel="stylesheet" />

Note: More documentation is on the way, but for now we recommend looking at a couple different places for relevant style information:

Import a component

import { Button } from '@britannica/ui';

const MyComponent = () => <Button label="Enable Bat-Signal">Enable Bat-Signal</Button>;

Note: More documentation is on the way, but for now we recommend looking at the propTypes within each of the components to see which components exist as well as which props they accept.

testing

Keywords

FAQs

Package last updated on 26 Aug 2024

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