Buttons

A comprehensive button library with various styles, sizes, and states for consistent user interface design.

Installation

Quick guide to setup the component

1. Copy and paste this into the terminal to install the required dependencies.

Terminal

Copied!

npm i clsx tailwind-merge react-icons

2. Create /lib folder, then create the file utils.ts. Copy and paste this inside of it.

lib/utils.ts

Copied!

1import { ClassValue, clsx } from "clsx";
2import { twMerge } from "tailwind-merge";
3 
4export function cn(...inputs: ClassValue[]) {
5  return twMerge(clsx(inputs));
6}

iOS Style Toggle

Standard iOS Toggle Style

Glow Button

Glow Button with shadow and borders

Minimal Button

Minimal Button with subtle shadow and border

Gumroad Style Button

Bordered gumroad style button

Shiny Button

Shiny Button with gradients

Contact CTA Button

Contact call-to-action button with gradient effects and glow

Soft Button

Soft button with inner shadows

Neumorphism Button

Neumorphism button 3d effect

Segmented Picker

Segmented picker with modern shadows and inner shadows

More Components Coming Soon

We're constantly adding new components to help you build faster.

More coming soon! 🚀

Have a specific component in mind? I'd love to build it for you.

Request a component →
DPS TemplateDPS Template

Component Development

Need custom React components for your project? Get in touch

I've built hundreds of components, and helped developers and teams create beautiful, reusable UI components.

  • Custom React components withTypeScript support

  • Beautiful styling withTailwind CSS

  • Fully tested and documented components ready to use

Perfect for development teams, agencies, or anyone needing custom UI components.


Ready to enhance your component library?

Reach out to me →
DPS TemplateDPS Template
DP's Templates

Access an ever-growing collection of premium, meticulously crafted templates and component packs for modern web and mobile development. Built by Emanuele Di Pietro.