v1.0.0-alpha.3

Build beautifulpiece by piece.

A dark-mode React component library. 17 production-ready components built with TypeScript, Tailwind CSS, and Framer Motion.

$npm install piece-ui
17
Components
100%
TypeScript
MIT
License
0
Config needed

Why piece-ui

Everything you need,

nothing you don't.

Zero config setup

One install command. All components ready with TypeScript definitions and Tailwind classes baked in.

Framer Motion powered

Smooth, production-quality animations built into components. No extra setup required.

Copy or install

Use via npm or copy source directly into your project. Your choice — zero lock-in.

Composable by design

Every component works standalone or composes with others seamlessly.

Library

17 components. One import.

Button

A versatile button component with multiple variants, sizes, and optional icon support.

form

ArticleCard

A rich card component for displaying article previews with cover image, title, description, tags, author info, and publish date.

content
new

ProjectCard

A showcase card for portfolio projects with scroll-driven animations powered by Framer Motion, project image, tech stack tags, and action links.

content

Checkbox

An accessible, customizable checkbox component with support for indeterminate state, custom labels, and keyboard navigation.

form

ConfirmDialog

A modal confirmation dialog with customizable title, message, and action buttons.

form

ContactForm

A complete contact form with name, email, and message fields.

form

CustomBtn

A highly flexible button component that accepts custom colors, background, padding, and icon.

form

Footer

A full-featured footer with animated marquee text, navigation links, social icons, and copyright info.

layout

Header

A responsive site header with logo, navigation links, and an integrated mobile hamburger menu.

layout

MenuButton

An animated hamburger menu toggle button.

layout

NoiseBackground

A utility component that renders a subtle noise texture overlay.

animation

SocialIcon

An SVG icon component supporting 8+ social platforms: GitHub, Twitter/X, LinkedIn, Behance, Dribbble, Instagram, YouTube, and Website.

content

SectionWrapper

A responsive layout wrapper for page sections.

layout

SectionHeader

A section heading with an optional index number, title, subtitle, and a 'View All' action link.

layout
new

SpotlightReveal

An advanced Framer Motion animation component that reveals content with a spotlight effect on hover.

animation

Line1

A decorative animated vertical line component for the left side of a layout.

animation

Line2

A decorative animated vertical line component for the right side of a layout.

animation
Quick install

Start building in seconds.

Install piece-ui, import your components, and ship. No build steps, no configuration.

$npm install piece-ui