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

vroi-custom-components

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vroi-custom-components

VROI Components Manager (VROI Boilerplate)

  • 0.2.8
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Visualize ROI Boilerplate for npm 🤨

React Boilerplate Custom Component

N|Solid


Table of Contents 📖

  1. Inputs.
  2. Select Dropdown.
  3. Range Slider.
  4. Buttons.
  5. Switch Buttons.
  6. HighCharts.
  7. Tooltip.
  8. Outputs.
  9. Information Box.
  10. Header.
  11. Custom Modal.

Inputs

i) Input:

import { Input1 } from "vroi-custom-components";

<Input1 title="How many countries in the world" value={var1} onChange={(e) => {setVar1(e.target.value);  }} />

This is an image


Select Dropdown:

i) Select:

import { Select1 } from "vroi-custom-components";

const options = { "option 1 ": 1, "option 2 ": 2, "option 3 ": 3 };

<Select1 title="How many countries in the world" options={options}  selected={"2"}  onChange ={ e => { alert('test') }} />

This is an image


Range Slider:

i) Range:

import { Slider1 } from "vroi-custom-components";

<Slider1 value={var} onChange={(e) => setVar(e.target.value)} />

This is an image


Buttons:

i) Button:

import { Button1 } from "vroi-custom-components";

<Button1 backgroundColor="#203661" text={"Get your report"} onClick={() => ''} />

This is an image

ii) Button2:

import { Button2 } from "vroi-custom-components";

<Button2 backgroundColor="#203661" text="Get your report" onClick={() => ''} />

This is an image

iii) Button3:

import { Button3 } from "vroi-custom-components";

<Button3 backgroundColor="#203661" text="Assumption" onClick={() => ''} />

This is an image

iV) Button4:

import { Button4 } from "vroi-custom-components";

<Button4 backgroundColor="#203661" text="Assumption" onClick={() => ''} />

This is an image

V) Button5:

import { Button5 } from "vroi-custom-components";

<Button5 backgroundColor="#203661" text="Assumption" onClick={() => ''} />

This is an image


Switch Buttons.

i) Switch Button:

import { SwitchButton } from "vroi-custom-components";

 <SwitchButton value="1" onClick={(e) => ''} />

This is an image


ii) Switch2 Button:

import { SwitchButton2 } from "vroi-custom-components";

<SwitchButton2 backgroundColor="red" value="1" onClick={(e) => ''} />

This is an image


HighCharts.

i) Chart1:

import { Chart1 } from "vroi-custom-components";

const titles = ['item1' , 'item2' , 'item3'];
const values = [ 12 , 32 , 21 ];
const colors = ['#123212' , 'black' , 'pink'];

<Chart1 titles={titles} values={values} colors={colors} prefix={"$"} postfix={"M"}  />

This is an image


i) Chart2:

import { Chart2 } from "vroi-custom-components";

const titles = ['item1' , 'item2' , 'item3'];
const values = [ 12 , 32 , 21 ];
const colors = ['#123212' , 'black' , 'pink'];

<Chart2 titles={titles} values={values} colors={colors} prefix={"$"} postfix={"M"}  />

This is an image


Outputs.

i) Output:

import { Output1 } from "vroi-custom-components";

<Output1 title="TOTAL BUSINESS BENEFIT" value="$1,600,000" backgroundColor="red" />

This is an image


Information Box.

import { Instruction } from "vroi-custom-components";

<Instruction  title="Instructions" backgroundColor="red" description="To explore your total value gained, select the value drivers below."  />

This is an image


Headers

import { Headers } from "vroi-custom-components";


<Headers  title="xyz" />
<Headers backgroundColor="#7B61FF" title="xyz"  />
<Headers backgroundColor="#DDE0E9" title="xyz"  />

This is an image


Modals

import { ModalLoader } from "vroi-custom-components";


<ModalLoader show={true} text="PREPARING YOUR REPORT" />

This is an image


Keywords

FAQs

Package last updated on 03 Mar 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc