🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@idui/react-kit

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idui/react-kit

React Components kit

latest
Source
npmnpm
Version
0.0.10
Version published
Maintainers
1
Created
Source

React Components Kit

NPM Size JavaScript Style Guide LICENSE

Install

npm install --save @idui/react-kit
yarn add @idui/react-kit

Example

  • Provide theme
import React from 'react';
import { ThemeProvider } from 'styled-components';
import { seaSandTheme } from '@idui/react-kit';

function Layout({ children }) {

    return (
            <ThemeProvider theme={seaSandTheme}>
                {children}
            </ThemeProvider>
    );
}
  • Import font from your theme
@import url('https://fonts.googleapis.com/css?family=Montserrat:wght@500;700&display=swap')
  • Use components
import React, { useState } from 'react';
import { ThemeProvider } from 'styled-components';
import { TextInput, Button } from '@idui/react-kit';

function Usage() {
    const [name, setName] = useState('');

    return (
          <div>
              <TextInput name="name" value={name} onChange={setName} />
              <Button outline>Cancel</Button>
              <Button>Submit</Button>
          </div>
    );
}

Available Themes

  • iduiTheme
  • coffeeTheme
  • tendernessTheme
  • sunsetTheme
  • seaSandTheme

Available Components

License

MIT © kaprisa57@gmail.com

FAQs

Package last updated on 29 Jan 2022

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