GithubHelp home page GithubHelp logo

bieefilled / biee-library Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 6.0 273 KB

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.

Home Page: https://www.npmjs.com/package/biee-ui

License: MIT License

JavaScript 93.48% HTML 1.34% CSS 5.18%
open-source reactjs tailwind-css vite-react reusable-components hacktoberfest2023

biee-library's Introduction

Biee-ui

Status GitHub Issues GitHub Pull Requests License


A React Ui Library

overview

biee-library is a React UI library with a wide variety of reusable components, including data visualization components, form components, navigation components, and layout components. The library is designed to be easy to use and well-documented, and it is supported by a strong community of contributors.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.