0.0.87 • Published 3 years ago

react-tailblocks v0.0.87

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-tailblocks

React components based on TailwindCSS and TailBlocks (https://tailblocks.cc/)

NPM JavaScript Style Guide

Install

Install and configure TailwindCss as per TailwindCss documentation (https://tailwindcss.com/docs/installation)

npm install --save react-tailblocks

or 

yarn add react-tailblocks

Then configure your tailwind.config.js file to include the react-tailwind library from your node_modules folder in the purge array. To do this add './node_modules/react-tailblocks/*/.{js,ts,jsx,tsx}' to the end of the list.

purge: [
    './pages/**/*.{js,ts,jsx,tsx}', 
    './components/**/*.{js,ts,jsx,tsx}',

    // ...
    
    './node_modules/react-tailblocks/**/*.{js,ts,jsx,tsx}'
  ],

Important

Please be aware this componet library is still under development (see version number before considering usage)

Documentation

Detailed documentation is not yet available. If you are using this early version of the component library please see the code for usage details. Each component has default parameters specified that will give you insight into its usage.

Usage

import React from 'react'
import { Ecommerce1 } from 'react-tailblocks'

export default function Example() {
    return <Ecommerce1 items={
    [
      {
          title: "The Catalina",
          category: "Boating",
          description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce imperdiet hendrerit nisi quis viverra. Cras quis ipsum arcu. Phasellus in nibh mauris. Cras malesuada facilisis porttitor.",
          image: 
            <a className="block relative h-48 rounded overflow-hidden">
                <img alt="ecommerce" className="object-cover object-center w-full h-full block" src="https://dummyimage.com/420x260" />
            </a>,
          price: <p className="mt-2">$16.00</p>
      }, {
          title: "The 400 Blowfish",
          category: "Fishing",
          description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce imperdiet hendrerit nisi quis viverra. Cras quis ipsum arcu. Phasellus in nibh mauris. Cras malesuada facilisis porttitor.",
          image: "https://dummyimage.com/420x260",
          price: "316.00"
      }, {
          title: "Shooting Fish",
          category: "Fishing",
          description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce imperdiet hendrerit nisi quis viverra. Cras quis ipsum arcu. Phasellus in nibh mauris. Cras malesuada facilisis porttitor.",
          image: "https://dummyimage.com/420x260",
          price: 129.99
      }
    ]
  }/>
}

Components

Card1, Content3, Dashboard1, Ecommerce1, Email1, Feature1, Footer1, Footer4, Form, Grid1, Header2, Hero1, Input, Layout1, Login1, Logo1, Modal1, Pricing1, Register1, Reset1, Select, Statistics3, Steps3, Table1, Tabs1, TextArea

License

MIT © dotnetfx

0.0.84

3 years ago

0.0.85

3 years ago

0.0.86

3 years ago

0.0.87

3 years ago

0.0.83

3 years ago

0.0.82

3 years ago

0.0.80

3 years ago

0.0.81

3 years ago

0.0.77

3 years ago

0.0.78

3 years ago

0.0.79

3 years ago

0.0.76

3 years ago

0.0.73

3 years ago

0.0.74

3 years ago

0.0.75

3 years ago

0.0.70

3 years ago

0.0.71

3 years ago

0.0.72

3 years ago

0.0.69

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.64

3 years ago

0.0.65

3 years ago

0.0.66

3 years ago

0.0.67

3 years ago

0.0.68

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.59

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.56

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.53

3 years ago

0.0.54

3 years ago

0.0.55

3 years ago

0.0.50

3 years ago

0.0.48

3 years ago

0.0.49

3 years ago

0.0.42

3 years ago

0.0.43

3 years ago

0.0.44

3 years ago

0.0.45

3 years ago

0.0.46

3 years ago

0.0.47

3 years ago

0.0.40

3 years ago

0.0.41

3 years ago

0.0.39

3 years ago

0.0.37

3 years ago

0.0.38

3 years ago

0.0.36

3 years ago

0.0.30

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.34

3 years ago

0.0.35

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.20

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago