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
- Simplify the assignment method of diversified data.
- Components are compatible with
gRPC
, REST APIs
, GraphQL
self-packaging, uniformly use Classes and their methods to introduce interfaces - Enhanced user interaction, flexible use in asynchronous and synchronous states
- 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. - Do not embed css-in-js, directly use external CSS styles to completely change the component style.
Components List
Here is a table of the components and their status.
Usage
Step 1. You need to install it:
$ npm i funda-ui
Step 2. Using Bootstrap CSS together (recommended)
<link href="./bootstrap.min.css" rel="stylesheet"/>
Step 3. import required components as required
If the component does not have a CSS file, it can not be imported, or use own CSS.
import Input from 'funda-ui/Input';
import Textarea from 'funda-ui/Textarea';
import CascadingSelect from 'funda-ui/CascadingSelect';
import 'funda-ui/CascadingSelect/index.css';
or
import {
Input,
Textarea,
CascadingSelect
} from 'funda-ui';
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;
import 'funda-ui/CascadingSelect/index.css';
Licensing
Licensed under the MIT.