Giter Club home page Giter Club logo

funda-ui's Introduction

Funda UI

React components using pure Bootstrap 5+ which has undergone complex business testing and is easy to integrate with any API. You can load Bootstrap css libraries separately in your project.

All components have undergone complex business verification and provide multiple examples.


Key Features

  1. Simplify the assignment method of diversified data.
  2. Components are compatible with gRPC, REST APIs, GraphQL self-packaging, uniformly use Classes and their methods to introduce interfaces
  3. Enhanced user interaction, flexible use in asynchronous and synchronous states
  4. Introduce appropriate component .css files as needed, only for some components with special needs. Most of them can directly use Bootstrap's official style sheet.

Components List

Here is a table of the components and their status.

WEB ELEMENTS FORMS INTERACTION NAVIGATION LAYOUTS
Accordion ✅ Input ✅ Infinite Scroll ❏ Multilevel Dropdown Menu ✅ MasonryLayout ✅
Accordion Slider ❏ Password Input ❏ Image Perspective Hover ❏ Dropdown Menu ✅ RootPortal ✅
Back To Top ✅ Merge Input ❏ Mousewheel Interaction ❏
Button ❏ Tag Input ✅ Parallax ❏
Card ❏ Textarea ✅ Scroll Reveal ✅
Content Placeholder ❏ Select ✅ Sticky Elements ❏
Counter ❏ Cascading Select ✅ Mode Switch ✅
Hybrid Content Slider ❏ Cascading Select End-to-end ✅🔥 Custom Scrollbar ✅
Image Shapes ❏ Radio ✅ Horizontal Scroll Content ✅
Lightbox ❏ Checkbox ✅
List Bulleted ❏ Multifunction Select ✅🔥
Modal Dialog ✅🔥 Live Search ✅
Pagination ✅ Number ❏
Table ✅🔥 SearchBar ✅
Periodical Scroll ❏ Switch ✅
Progress Bar ❏ Dynamic Fields ✅🔥
Rating ❏ File ✅
Seamless Scrolling Element ❏ File Field ❏
Show More Less ✅ Range Slider ✅
Slideshow ❏ Color Picker ✅
Tabs ✅ MultipleCheckboxes ✅
Timeline ❏ MultipleSelect ✅🔥
Toast ✅ Date ✅🔥
Tooltip ✅
Digital Clock ✅
Tree ✅🔥
Event Calendar ✅🔥
Event Calendar Timeline ✅🔥

Usage

First, you need to install it:

$ npm i funda-ui

Next, import required components as required

import Input from 'funda-ui/Input';
import Textarea from 'funda-ui/Textarea';
import CascadingSelect from 'funda-ui/CascadingSelect';

// component styles
import 'funda-ui/CascadingSelect/index.css';

or

import { 
    Input,
    Textarea,
    CascadingSelect
} from 'funda-ui';

// component styles
import 'funda-ui/CascadingSelect/index.css';

or

const Input = require('funda-ui').Input;
const Textarea = require('funda-ui').Textarea;
const CascadingSelect = require('funda-ui').CascadingSelect;

// component styles
import 'funda-ui/CascadingSelect/index.css';

Getting Started

Make sure if Node 14+ is installed on your computer.

Step 1: Create a new Lerna workspace by running:

$ cd /{your_directory}/funda-ui
$ npx lerna init

Step 2: Install dependencies (Required)

It will automatically install the dependencies of all resources in packages/ without duplication.

$ npm install

Step 3: To open the visualization, run:

$ npx nx graph

Step 4: To build all projects, run

$ npx lerna run build

or Build the package you want (recommend):

$ npx lerna run build --scope=plugin-1 --scope=plugin-2

Please do not install lerna globally to use lerna run build

Step 5: (optional) Use a custom script like:

$ npx lerna exec npm run export --scope=plugin-2

Publish the lib of components, it will hang on NPM:

$ npm run build:lib
$ npm run build:publish

(Optional) Update Utils

$ npx lerna run build --scope=funda-utils
$ npm i
$ npx lerna run build

(Optional) Manually generate .d.ts files, you can execute

$ npx -p typescript tsc lib/cjs/*.js --declaration --allowJs --emitDeclarationOnly

Contributing

Licensing

Licensed under the MIT.

funda-ui's People

Contributors

xizon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.