frui-tailwind
v0.0.25
Published
A collection of tailwind components written in typescript.
Downloads
7
Readme
Free React UI (FRUI)
A collection of vanilla react and tailwind components, fields and output formats written in typescript.
Checkout the Examples
Install
$ npm install frui-tailwind
After you install frui-tailwind
, open tailwind.config.js
and add the frui
location in the content
section.
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
//...
'./node_modules/frui-tailwind/**/*.{jsx,tsx}'
//...
],
//...
}
Usage
Tailwind components in frui-tailwind
have been written from the
ground up and you can importing components like the following.
import { Alert, Badge } from 'frui-tailwind';
import { Input, Password } from 'frui-tailwind/fields';
import { HTML, Markdown } from 'frui-tailwind/formats';
//or
import Table, { Thead, Trow, Tcol } from 'frui-tailwind/Table';
import Select from 'frui-tailwind/fields/Select';
import Email from 'frui-tailwind/formats/Email';
Components (13)
- Accordian (TODO)
- Alert
- Badge
- Button
- Control
- Crumbs (TODO)
- Loader
- Modal
- Pagination (TODO)
- Progress (TODO)
- Table
- Tabs (TODO)
- Tree (TODO)
Fields (32)
- Autocomplete
- Checkbox
- Checklist (TODO)
- Code (TODO)
- Color (TODO)
- Country
- Currency
- Date
- Datetime
- Fieldset
- File
- Filelist
- Image
- Imagelist
- Input
- JSON (TODO)
- Markdown
- Mask
- Metadata (String, Number, Date, Datetime, Time)
- Number
- Password
- Radio
- Radio Group (TODO)
- Select
- Slider (TODO)
- Slug
- Switch
- Taglist
- Textarea
- Textlist
- Time
- WYSIWYG (TODO)
Formats (20)
- Color
- Currency
- Date
- Formula
- HTML
- Image
- Imagelist
- JSON
- Link
- List (Ordered, Unordered)
- Markdown
- Metadata
- Number
- Overflow (Char, Word)
- Phone
- Separated (Space, Comma, Line)
- Table
- Taglist
- Yesno