# web-components-phionike

> Phionike Web Components Library

Latest version **0.1.16** (published 2021-08-04) · 0 weekly downloads

## Install

```sh
npm install web-components-phionike
pnpm add web-components-phionike
yarn add web-components-phionike
bun add web-components-phionike
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.16 |
| Published | 2021-08-04 |
| First published | 2021-07-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 13 |
| Unpacked size | 120.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Shubh Nisar |
| Maintainers | shubhooo |
| Keywords | react, components, ui |

## Links

- npm: https://www.npmjs.com/package/web-components-phionike
- npm.io page: https://npm.io/package/web-components-phionike

## Dependencies (13)

- [react](https://npm.io/package/react.md) ^17.0.2
- [node-sass](https://npm.io/package/node-sass.md) ^6.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [web-vitals](https://npm.io/package/web-vitals.md) ^1.1.2
- [react-scripts](https://npm.io/package/react-scripts.md) 4.0.3
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^5.2.0
- [styled-components](https://npm.io/package/styled-components.md) ^5.3.0
- [react-navbar-dropdown](https://npm.io/package/react-navbar-dropdown.md) ^1.4.3
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^11.2.7
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.14.1
- [react-accessible-accordion](https://npm.io/package/react-accessible-accordion.md) ^3.3.4
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^12.8.3

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 0.1.16 (latest) — 2021-08-04
- 0.1.15 — 2021-07-27
- 0.1.14 — 2021-07-23
- 0.1.13 — 2021-07-22
- 0.1.12 — 2021-07-22
- 0.1.11 — 2021-07-21
- 0.1.10 — 2021-07-20
- 0.1.9 — 2021-07-20
- 0.1.8 — 2021-07-20
- 0.1.7 — 2021-07-20
- 0.1.6 — 2021-07-20
- 0.1.5 — 2021-07-20
- 0.1.4 — 2021-07-20
- 0.1.3 — 2021-07-20
- 0.1.2 — 2021-07-19
- … 2 more at https://npm.io/package/web-components-phionike/versions

## README

# web-components-phionike

A React Library containing basic UI components.

## Installing

### `npm install web-components-phionike`

## Dependencies

### `npm install styled-components`

## Components

#### Avatars

```json
import { Avatars } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                                           | Default  | Description                          |
| --------- | ------------------------------------------------ | -------- | ------------------------------------ |
| size      | `"xs"` : `"s"` : `"m"` : `"xm"` : `"l"` : `"xl"` | `m`      | The size of Avatar.                  |
| mode      | `square` : `circle`                              | `square` | The shape of Avatar.                 |
| src       | `-`                                              | `NULL`   | The source location of Avatar image. |

##

#### Banner

```json
import { Banner } from 'web-components-phionike';
```

#### _props_

| Attribute       | Values                               | Default   | Description                          |
| --------------- | ------------------------------------ | --------- | ------------------------------------ |
| backgroundColor | <font color=green>_`String`_</font>  | `#FAFAFA` | The color of Banner.                 |
| image           | `-`                                  | `NULL`    | The source location of Avatar image. |
| button1         | <font color=green>_`String`_</font>  | `#FAFAFA` | The bgColor of button1.              |
| button1Color    | <font color=green>_`String`_</font>  | `#0B5FFF` | The color of button1.                |
| button2         | <font color=green>_`String`_</font>  | `#FAFAFA` | The bgColor of button2.              |
| button2Color    | <font color=green>_`String`_</font>  | `#0B5FFF` | The color of button2.                |
| borderRadius    | <font color=green>_`Integer`_</font> | `0`       | Border Radius of Banner.             |
| button1OnClick  | <font color=blue>_`()=>{}`_</font>	 | `null`	 | Call to action of Button 1.  	    |
| button2OnClick  | <font color=blue>_`()=>{}`_</font>	 | `null`	 | Call to action of Button 2.          |

##

#### Button

```json
import { Button } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                               | Default  | Description                     |
| --------- | ------------------------------------ | -------- | ------------------------------- |
| size      | `"small"` : `"medium"` : `"large"`   | `medium` | The size of Button.             |
| radius    | <font color=green>_`Integer`_</font> | `8`      | The border-radius of Button.    |
| primary   | <font color=red>_`Boolean`_</font>   | `false`  | The background-color of Button. |
| onClick   | <font color=blue>_`()=>{}`_</font>   | `null`	  | Call to action of Button.  		|

##

#### Buttonicon

```json
import { Buttonicon } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                               | Default    | Description                       |
| --------- | ------------------------------------ | ---------- | --------------------------------- |
| icon      | `-`                                  | `PlusIcon` | Icon of Buttonicon.               |
| radius    | <font color=green>_`Integer`_</font> | `8`        | Border Radius of Buttonicon.      |
| size      | <font color=green>_`Integer`_</font> | `52`       | The width & height of Buttonicon. |
| disabled  | <font color=red>_`Boolean`_</font>   | `false`    | Disable or Enable Buttonicon.     |
| primary   | <font color=red>_`Boolean`_</font>   | `false`    | Primary or Default Buttonicon.    |
| onClick   | <font color=blue>_`()=>{}`_</font>   | `null`		| Call to action of Button.  		|

##

#### Chips

```json
import { Chips } from 'web-components-phionike';
```

#### _props_

| Attribute     | Values                              | Default      | Description                          |
| ------------- | ----------------------------------- | ------------ | ------------------------------------ |
| disable       | <font color=red>_`Boolean`_</font>  | `false`      | Disable Chip.                        |
| label         | <font color=green>_`String`_</font> | `Chip Label` | The label of Chip.                   |
| avatar        | `-`                                 | `img`        | The source location of Avatar image. |
| avatarVisible | <font color=red>_`Boolean`_</font>  | `true`       | The visibility of Avatar.            |
| crossVisible  | <font color=red>_`Boolean`_</font>  | `true`       | The visibility of Cross Icon.        |

##

#### Circular Progress

```json
import { CircularProgressBar } from 'web-components-phionike';
```

#### _props_

| Attribute   | Values                               | Default   | Description                     |
| ----------- | ------------------------------------ | --------- | ------------------------------- |
| strokeWidth | <font color=green>_`Integer`_</font> | `10`      | Width of Color Indicator Strip. |
| percentage  | <font color=green>_`Integer`_</font> | `50`      | Percentage Progress Completed.  |
| width       | <font color=green>_`Integer`_</font> | `50`      | The total width of Indicator.   |
| height      | <font color=green>_`Integer`_</font> | `50`      | The total height of Indicator.  |
| color       | <font color=green>_`String`_</font>  | `#0B5FFF` | The color of Indicator.         |

##

#### Input

```json
import { Input } from 'web-components-phionike';
```

#### _props_

| Attribute   | Values                              | Default           | Description                   |
| ----------- | ----------------------------------- | ----------------- | ----------------------------- |
| placeholder | <font color=green>_`String`_</font> | `Text`            | The placeholder of Input.     |
| label       | <font color=green>_`String`_</font> | `Label`           | The label of Input.           |
| success     | <font color=red>_`Boolean`_</font>  | `false`           | Error-free Input.             |
| successText | <font color=green>_`String`_</font> | `Success Message` | The Success Message of Input. |
| error       | <font color=red>_`Boolean`_</font>  | `false`           | Error Input.                  |
| errorText   | <font color=green>_`String`_</font> | `Error Message`   | The Error Message of Input.   |

##

#### Progress Indicators

```json
import { ProgressIndicators } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                              | Default   | Description                        |
| --------- | ----------------------------------- | --------- | ---------------------------------- |
| bgColor   | <font color=green>_`String`_</font> | `#0B5FFF` | The background-color of Indicator. |
| count     | <font color=red>_`Boolean`_</font>  | `false`   | The count meter of Indicator.      |

##

#### Sidebar

```json
import { Sidebar } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                              | Default       | Description                 |
| --------- | ----------------------------------- | ------------- | --------------------------- |
| theme     | `light` : `dark`                    | `dark`        | Theme of the Sidebar.       |
| logoIcon  | `-`                                 | `default img` | Main Site Logo.             |
| logoText  | <font color=green>_`String`_</font> | `logo`        | Main Site Name.             |
| sections  | <font color=orange>_`Array`_</font> | `sections`    | Subsections of the Sidebar. |

```json
sections = [
	{icon:  TN,
	text:  "module 1",
	link:  "https://www.google.com",
	},
	{
	icon:  TN,
	text:  "module 2",
	link:  "https://www.google.com",
	},
]
```

##

#### Snackbar

```json
import { Snackbar } from 'web-components-phionike';
```

#### _props_

| Attribute   | Values                              | Default           | Description                          |
| ----------- | ----------------------------------- | ----------------- | ------------------------------------ |
| text        | <font color=green>_`String`_</font> | `Lorem Ipsum`     | The text of Snackbar.                |
| action      | <font color=green>_`String`_</font> | `Small Button`    | The title of action button.          |
| show        | <font color=red>_`Boolean`_</font>  | `false`           | Toggle visibility.                   |
| successText | <font color=green>_`String`_</font> | `Success Message` | The Success Message of Input.        |
| setShow     | <font color=red>_`Boolean`_</font>  | `false`           | Setter Function for toggling `show`. |
| actionBtn   | <font color=red>_`Boolean`_</font>  | `false`           | Action Button visibility.            |

##

#### Tooltip

```json
import { Tooltip } from 'web-components-phionike';
```

#### _props_

| Attribute | Values                               | Default             | Description                      |
| --------- | ------------------------------------ | ------------------- | -------------------------------- |
| pointer   | <font color=red>_`Boolean`_</font>   | `false`             | Pointer.                         |
| content   | <font color=green>_`String`_</font>  | `This is a tooltip` | Text of the Tooltip.             |
| direction | `top` : `left`: `right`: `bottom`    | `top`               | Location of Tooltip.             |
| textColor | <font color=green>_`String`_</font>  | `white`             | The Color of Message of Tooltip. |
| delay     | <font color=green>_`Integer`_</font> | `400`               | Time delay to show Tooltip.      |

##

#### NotifWrapper

```json
import { NotifWrapper } from 'web-components-phionike';
```

#### _props_

| Attribute  | Values                                          | Default | Description                              |
| ---------- | ----------------------------------------------- | ------- | ---------------------------------------- |
| theme      | `light` : `dark`                                | `dark`  | Theme of the NotifWrapper.               |
| wrapper    | <font color=lighblue>_`state`_</font>           | `NULL`  | state of NotifWrapper.                   |
| setWrapper | <font color=lighblue>_`setter function`_</font> | `NULL`  | state updation function of NotifWrapper. |
| drawerSize | <font color=green>_`Integer`_</font>            | `200`   | Width of the notification wrapper.       |

##

#### Navbar
```json
import { Navbar } from 'web-components-phionike'
```
#### _props_

| Attribute | Values                               | Default       | Description                        |
| --------- | -----------------------------------  | ---------     | ---------------------------------- |
| bgColor   | <font color=green>_`String`_</font>  | `#B9C0C5`     | The background-color of Navbar.    |
| color     | <font color=red>_`String`_</font>    | `#20272C`     | Color of the text.     			|
| icon      | `-`                                  | `SideNavIcon` | Icon of Logo inside navbar.        |
| links		| <font color=orange>_`Object`_</font> | `links`	   | Navigation Links of navbar.		| 

```json
links={
	product:{},
	overview:{
		link1: "link-1",
    		link2: "link-2",
		},
	contact:{}
}
```
##

#### Responsive Navbar
```json
import { ResponsiveNavbar } from 'web-components-phionike'
```
#### _props_

| Attribute | Values                               | Default       | Description                        |
| --------- | -----------------------------------  | ---------     | ---------------------------------- |
| bgColor   | <font color=green>_`String`_</font>  | `#B9C0C5`     | The background-color of Navbar.    |
| color     | <font color=red>_`String`_</font>    | `#20272C`     | Color of the text.     			|
| icon      | `-`                                  | `SideNavIcon` | Icon of Logo inside navbar.        |
| links		| <font color=orange>_`Object`_</font> | `links`	   | Navigation Links of navbar.		| 

```json
links={
	product:{},
	overview:{
		link1: "link-1",
    		link2: "link-2",
		},
	contact:{}
}
```
##


#### Modal
```json
import { Modal } from 'web-components-phionike'
```

#### _props_

| Attribute      | Values                                              | Default        | Description                            |
| ----------     | -----------------------------------------------     | -------        | ---------------------------------------|
| size           | `"small"` : `"medium"` : `"large"` : `"extraLarge"` | `small`        | The size of Modal.                     |
| title          | <font color=green>_`String`_</font>                 | `Modal Title`  | Title of the modal.                    |
| content        | <font color=green>_`String`_</font>                 | `Modal Content`| Content inside the modal.              |
| primary	     | <font color=red>_`Boolean`_</font>				   | `false`	    | The background-color of Button.		 |
| button1Text    | <font color=green>_`String`_</font> 				   | `Button`		| Text of the button1.				     |
| button2Text    | <font color=green>_`String`_</font> 				   | `""`			| Text of the button2.				     |
| showModal	     | <font color=red>_`Boolean`_</font>				   | `false`		| Toggle visibility.					 |
| button1OnClick | <font color=blue>_`()=>{}`_</font>				   | `null`		    | Call to action of Button 1.  			 |
| button2OnClick | <font color=blue>_`()=>{}`_</font>				   | `null`		    | Call to action of Button 2.            |

## About

#### Contributors

|                                                                                                                                        |             |                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------- |
| <img width="75" alt="tn" src="https://user-images.githubusercontent.com/65038837/126761822-ca949453-540f-40f1-a8cd-9a1ed3e4cae2.jpeg"> | Shubh Nisar | [`https://shubh-nisar.github.io`](https://shubh-nisar.github.io)                                |
| <img width="75" alt="tn" src="https://user-images.githubusercontent.com/65038837/126762720-471411f5-b850-4ee3-a68e-ae58b98fc391.png">  | Tanay Naik  | [`www.linkedin.com/in/tanay-naik-9693831a4`](https://www.linkedin.com/in/tanay-naik-9693831a4/) |

---
_Source: https://npm.io/package/web-components-phionike · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
