The Wayback Machine - https://web.archive.org/web/20200926183701/https://github.com/udaypydi/tail-ui
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Tail UI

A lite weight react component library built with love for React Hooks, Tailwind Css and React Developers. Its easy to get started, simple and consists of tiny components. Its a work in progress. Contributions are most welcome.

A React UI library built using tailwind css

Installtion

Install tailwind-ui-react locally:

// using npm
npm i --save tailwind-ui-react

or

// using yarn
yarn add tailwind-ui-react

Components

  • Button
  • Container
  • Header
  • Image
  • Input
  • Select
  • Message

Usage

Button
    import { Button } from 'tail-ui';

    function App(props) {
        return (
            <Button style={{ background: '#0077b5', color: '#ffffff' }} />
        )
    }

Input

import { Input } from 'tail-ui';

function App(props) {
    return (
        <Input placeholder="Placeholder Text..." rounded />
    )
}

Container

import { Container } from 'tail-ui';

function App(props) {
    return (
        <Container fluid raised />
    )
}

Header

import { Header } from 'tail-ui';

function App(props) {
    return (
        <Header headerText="Simple Header" />
    )
}

Image

import { Image } from 'tail-ui';

function App(props) {
    return (
        <Image src="https://demoimage/image.png" rounded />
    )
}

Select

import { Select } from 'tail-ui';

function App(props) {
    return (
        <Select options=[{ text: 'TailUI', value: 'tailui' }}/>
    )
}

Message

import { Message } from 'tail-ui';

function App(props) {
    return (
        <Message className="text-green-500 border-green-500" />
    )
}
You can’t perform that action at this time.