Giter Site home page Giter Site logo

udaypydi / tail-ui Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 4.12 MB

A react component library built on tailwind css

Home Page: http://react-tailui.surge.sh/

License: MIT License

JavaScript 97.18% HTML 0.61% SCSS 2.21%
react-ui-components travis-ci react scss css githubaction-workflow github-actions hacktoberfest

tail-ui's Introduction

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" />
    )
}

tail-ui's People

Contributors

dependabot[bot] avatar mvhk avatar udaypydi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

tail-ui's Issues

Build NPM lib through GitHub Actions.

Current Library:

The npm library is built using a simple webpack config.

Expected Packaging:

  • Add bundling support using rollup
  • Add a GitHub action to automate the versioning and bundling flow.
  • The GitHub action can be built with a tag based approach. For ex: adding a release tag to the PR or merging the PR to master should build the package.

Expected module bundler

rollup.
Any other bundler with a valid POC is welcome.

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.