New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@ubilabs/ubilabs-ui-components

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ubilabs/ubilabs-ui-components

Ubilabs UI styles and components

latest
Source
npmnpm
Version
1.6.7
Version published
Maintainers
7
Created
Source

Ubilabs UI Components

Styled UI components for Ubilabs demo cases and other internal projects written in React.

Table of Contents

  • Requirements
  • Usage

Requirements

To use the React components, you need to have React 16.8.0 or later installed.

Usage

1. Package installation

Install the Ubilabs UI components package

npm install --save @ubilabs/ubilabs-ui-components

2. Integration

2.1. Integrate the styles into your project

Import the CSS file in your application.

import '@ubilabs/ubilabs-ui-components/dist/index.css';
2.2. Integrate a component into your React project
import React from 'react';
import {Button} from '@ubilabs/ubilabs-ui-components';
import '@ubilabs/ubilabs-ui-components/dist/index.css';

const MyComponent = () => {
  return (...)
    <Button>Hello World!</Button>
  (...);
};

3. Adjust the styles if needed

You can adjust the styles by overwriting the CSS variables of the Ubilabs UI components package in :root.
Just make sure your CSS file is embedded after the @ubilabs/ubilabs-ui-components/dist/index.css.

FAQs

Package last updated on 14 Nov 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