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

lib-react-components

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-react-components

React components

3.0.0
Version published
Weekly downloads
2
-71.43%
Maintainers
1
Weekly downloads
 
Created

lib-react-components

This package contains UI components as CSS and React code.

Installation

To install and save in your package.json dependencies, run:

npm install --save lib-react-components

Quick start

Here's a quick example to get you started, it's literally all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'lib-react-components';

const App = () => (
  <Button>
    I am Button
  </Button>
);

ReactDOM.render(
  <App />,
  document.querySelector('#root'),
);

And add styles file to your element.

<link rel="stylesheet" href="https://unpkg.com/lib-react-components@latest/themes/default.css">

Responsive meta tag

To ensure proper rendering and touch zooming for all devices, add the responsive viewport meta tag to your element.

<meta
  name="viewport"
  content="minimum-scale=1, initial-scale=1, width=device-width"
/>

FAQs

Package last updated on 21 May 2021

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