🚀 Socket Launch Week 🚀 Day 1: Introducing .NET Support in Socket.Learn More

lib-react-components

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
p

lib-react-components

React components

2.1.0
78

Supply Chain Security

100

Vulnerability

88

Quality

80

Maintenance

70

License

Repository has been archived by the owner.
Version published
Weekly downloads
129
130.36%
Maintainers
1
Weekly downloads
 
Created
Issues
10

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 03 Feb 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