Skip to content
nikdelvinPublic

About

πŸš€ Beautiful, fast, and modern UI Library 100% built and animated with pure Tailwind CSS.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

152 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Taily UI - Tailwind CSS components

Introducing Taily UI - πŸš€ Beautiful, fast, and modern UI Library 100% built and animated with pure Tailwind CSS.

Total Downloads Latest Release License TypeScript

Table of Contents

✨ Features

  • 🎨 Pure Tailwind CSS - No extra CSS files or dependencies to load
  • ⚑ Lightweight & Fast - Minimal bundle size with zero overhead
  • πŸ”§ Fully Customizable - Use Tailwind utilities to style components
  • πŸ“± Responsive by Default - Mobile-first design patterns
  • β™Ώ Accessible - Built with accessibility best practices
  • 🎯 Simple Data Attributes - Easy-to-use HTML interface

πŸš€ Quick Start

The fastest way to get started with Taily UI is to use the data attributes interface:

<!DOCTYPE html>
<html>
<head>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
    <button data-color="primary" data-type="solid" data-size="medium" class="button">
        Start using Taily UI
    </button>
</body>
</html>

For a complete setup guide, check the Installation section below.

πŸ“‹ Prerequisites

Before you begin, make sure you have:

πŸ’» Installation

Taily UI can be included as a plugin into an existing Tailwind CSS project to help you build websites faster with a set of beautiful, production-ready web components built with Tailwind CSS utilities.

NPM Installation

Make sure that you have Node.js and Tailwind CSS installed first.

  1. Install Taily UI as a dependency:

    npm install taily-ui
  2. Add Taily UI as a plugin in your tailwind.config.js:

    const { tailyUI } = require('taily-ui')
    
    module.exports = {
        plugins: [tailyUI]
    }
  3. Or if you use TypeScript, add it to your tailwind.config.ts:

    import type { Config } from 'tailwindcss'
    import { tailyUI } from 'taily-ui'
    
    const config: Config = {
        plugins: [tailyUI]
    }
    export default config

πŸ“– Usage

Data Attributes

The preferred way to use Taily UI components is via the data attributes interface. This allows you to configure components directly in your HTML using simple attributes:

<button data-color="primary" data-type="solid" data-size="medium" class="button">
    Start using Taily UI
</button>

Available attributes include:

  • data-color - Set the button color (primary, secondary, default, etc.)
  • data-type - Choose the button type (solid, outline, ghost, etc.)
  • data-size - Define the button size (small, medium, large, etc.)

πŸͺ„ Components

Taily UI is an open source collection of 50+ UI components built with the utility classes from Tailwind CSS that you can use as a starting point when coding user interfaces and websites. Each component is production-ready, fully customizable, and accessible.

Featured Components

Button Button Group Card
Tailwind CSS Button Tailwind CSS Button Group Tailwind CSS Card

View all components β†’

❓ Troubleshooting

Styles not showing up?

Make sure Taily UI is correctly installed as a plugin in your tailwind.config.js or tailwind.config.ts file. The plugin needs to be included in the plugins array for styles to be generated.

Components not working?

Ensure that:

  • Tailwind CSS version 3.0 or higher is installed
  • You've included the Taily UI plugin in your Tailwind config
  • You're using the correct data attributes

For more help, check the documentation or open an issue on GitHub.

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Getting Started

  1. Fork the Project

  2. Create your Feature Branch

    git checkout -b feature/AmazingFeature
  3. Commit your Changes

    git commit -m 'Add some AmazingFeature'
  4. Push to the Branch

    git push origin feature/AmazingFeature
  5. Open a Pull Request

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

πŸš€ Beautiful, fast, and modern UI Library 100% built and animated with pure Tailwind CSS.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors