Skip to content

amitkushh/BtnUI

Repository files navigation

BtnUI

btnui1 btnui2 btnui3

A minimal collection of Tailwind-powered buttons ready to use in your next project. Copy, customize, and use them instantly.

👉 Live Demo


Table of Contents

  1. Introduction
  2. Tech Stack
  3. Features
  4. Prerequisites
  5. Installation
  6. Usage

Introduction

BtnUI is a powerful UI library that provides a collection of ready-to-use buttons built with Tailwind CSS. The buttons can be easily copied, customized, and integrated into your own projects.


Tech Stack

Technology Details
Framework Next.js (bootstrapped via create-next-app)
Styling Tailwind CSS
Font Inter (optimized using next/font)
Languages TypeScript

Features

  • Pre-built buttons with Tailwind CSS
  • Copy-paste ready code snippets
  • Lightweight, fast, and developer-friendly
  • Licensed under MIT

Prerequisites

Make sure you have the following installed:

  • Node.js (>= 18 recommended)
  • npm, yarn, pnpm, or bun
  • Git (optional, but recommended)

Installation

Clone the repository and install dependencies:

git clone https://github.com/amitkushh/BtnUI.git
cd BtnUI

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Usage

export default function Example() {
  return (
    <button className="relative px-8 py-3 overflow-hidden font-semibold bg-black group border-2 border-black rounded-xl cursor-pointer text-white">
      <span className="absolute inset-0 w-full h-full bg-white transform scale-x-0 origin-left rounded-tr-full rounded-br-full group-hover:scale-x-100 group-focus:scale-x-100 transition-transform duration-800 ease-in-out z-0"></span>
      <span className="absolute inset-0 w-full h-full bg-black transform scale-x-0 origin-right rounded-tl-full group-hover:scale-x-100 group-focus:scale-x-100 transition-transform duration-800 ease-in-out z-0"></span>
      <span className="relative z-10 text-white transition-colors duration-800">
        Login
      </span>
    </button>
  );
}

(Adjust the path and component name according to your project structure.)

Customization

1.Modify Tailwind classes to change colors, spacing, and hover effects.

About

A minimal collection of Tailwind-powered buttons ready to use in your next project. Copy, customize, and use them instantly in your projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors