Skip to content

A reusable React component, powered by Vite and Node! This component is designed to streamline your React development process, allowing you to quickly and easily integrate it into your existing projects. With a focus on simplicity and efficient.

License

Notifications You must be signed in to change notification settings

Petsamuel/Biee-library

 
 

Repository files navigation

Biee-ui

Status GitHub Issues GitHub Pull Requests License


A React Ui Library

overview

React Ui library with Various reusable components.

Installation

npm install biee-ui

Usage

creating buttons

import {Button} from 'biee-ui'

export const yourComponent=()=>{

return (

<Button name="Submit" type="submit" onclick={()=>{alert("clicked")}}/>

)
}

-Advance Button customization

Style Descriptions
variant "default", "primary", "success"
style tailwind-css styles

ContactForm

The ContactForm returns an object to access it you need to create a state and pass the as seen in the example below

import React, {useState} from 'react'
import {ContactForm} from 'biee-ui'

export const yourComponent=()=>{

const [data, setData]=useState({});

function FormData(e){
  setData(e);
}

return (

<ContactForm formData={Formdata}/>

)
}

Inputs

import React, {useState} from 'react'
import {Input} from 'biee-ui'

export const yourComponent=()=>{

const [data, setData]=useState({});

function inputData(e){
  setData(e.target.value);
}

return (

<Input type="text" name="full name" onchange={(e)=>{inputData}} label="Username"/>
<Input type="text" name="" onchange={(e)=>{inputData}} textarea label="message"/>


)
}

-Advance input customization

Style Descriptions
name String
style tailwind-css styles
onChange Function
value String
textarea by default is false
label String

About

A reusable React component, powered by Vite and Node! This component is designed to streamline your React development process, allowing you to quickly and easily integrate it into your existing projects. With a focus on simplicity and efficient.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.7%
  • CSS 5.8%
  • HTML 1.5%