Skip to content

AnchalDevBytes/phexar-ui

Repository files navigation

PhexarUI

Craft Exquisite Interfaces in Minutes.

A collection of high-quality, copy-paste React components built with Tailwind CSS v4 and Motion. Designed for the modern web with a focus on micro-interactions and neutral aesthetics.

Explore the Docs · Browse Components · Report Bug


✨ Philosophy

PhexarUI is not a component library you install as a dependency. It is a collection of reusable code that you copy and paste into your project.

  • Neutral by Default: Designed to fit into any brand identity without fighting for attention.
  • Micro-interactions: Every component features subtle, thoughtful animations powered by motion/react.
  • Tailwind v4 Native: Built for the future of CSS, leveraging the new engine and CSS variables.
  • Copy & Paste: You own the code. Customize it, break it, make it yours.

🛠️ Tech Stack

🚀 Getting Started

1. Prerequisites

Ensure your project is set up with Tailwind CSS v4. Then, install the core dependencies:

npm install motion lucide-react clsx tailwind-merge

2. Utility Function

Ensure you have a cn helper function (standard in the shadcn ecosystem) in lib/utils.ts:

import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

Usage

You can add components to your project via the CLI or by manually copying the code from the documentation.

Option A: CLI (Recommended)

To add the Elastic Search Bar, for example:

npx shadcn@latest add https://phexar-ui.vercel.app/r/elastic-search-bar.json

Option B: Manual Copy

  1. Browse the Documentation.
  2. Select a component.
  3. Click "View Code" or "Copy".
  4. Paste it into your project (e.g., components/phexarui/cards/dev-card.tsx).

Built with ❤️ by Anchal Raj