Socket
Socket
Sign inDemoInstall

lib-react-components

Package Overview
Dependencies
180
Maintainers
3
Versions
201
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lib-react-components

React components


Version published
Weekly downloads
379
increased by40.89%
Maintainers
3
Install size
7.11 MB
Created
Weekly downloads
 

Readme

Source

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"
/>

Keywords

FAQs

Last updated on 09 May 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc