hello

Hello UI - HTMX + Hyperscript + TailwindCSS Component Library

Welcome to Hello UI, a comprehensive component library built with HTMX, Hyperscript, and TailwindCSS. This project draws inspiration from leading UI frameworks including Headless UI, ShadCN, and Skeleton UI. As a completely free and open-source solution, this library enables developers to seamlessly integrate components through simple copy-and-paste functionality, facilitating rapid and efficient web application development.

Demo

Status: ✅ Production Ready - Comprehensive component library with automated testing

Why Choose This Library?

1. Exceptional Simplicity

2. Seamless Integration

3. Industry-Leading Inspiration

4. Enhanced Data Visualizations

5. TailwindCSS Optimized

6. Inherently Dynamic and Interactive

Tech Stack

Recent Enhancements

✅ Tailwind CSS v4 to v3 Migration

We have successfully resolved critical styling inconsistencies through a strategic downgrade from Tailwind CSS v4 to v3.4.17:

✅ Design System Standardization

✅ Performance Optimization & Reliability

Development Status

Project Architecture

src/
├── assets/           # Stylesheets, scripts, media, and iconography
├── blocks/           # Pre-constructed page templates and layouts
├── components/       # Modular UI components and elements
├── examples/         # Complete application page demonstrations
├── pages/            # Documentation and content pages
└── partials/         # Header, footer, and navigation modules

Quick Start

🚀 Development (Static HTMX)

# Start clean development server
npm run dev

Visit http://localhost:3000 (Clean Python HTTP server - no script injection)

📦 Production Build

# Build for production
npm run build

# Serve production build
npm run serve

Visit http://localhost:8080 (Production server)

Development Commands

Core Commands

npm run dev          # Development server with live reload
npm run build        # Production build (CSS + static files)
npm run serve        # Serve production build
npm run test         # Run unit tests
npm run lint         # Lint code
npm run format       # Format code

Development Options

npm run dev:serve    # Live reload server only
npm run dev:css      # CSS watching only
npm run dev:legacy   # Python HTTP server (port 8000)

Build Commands

npm run build:css    # Build CSS only
npm run build:static # Copy static files only
npm run build:dev    # Development CSS build
npm run clean        # Clean build artifacts

Quality Assurance

npm run format       # Format all files
npm run format:check # Check formatting

Development Options

npm run dev:serve    # Clean Python HTTP server (port 3000)
npm run dev:css      # CSS watching only
npm run dev:legacy   # Alternative Python HTTP server (port 8000)

Build Commands

npm run build:css    # Build CSS only
npm run build:static # Copy static files only
npm run build:dev    # Development CSS build
npm run clean        # Clean build artifacts

Quality Assurance

npm run lint         # Check code quality
npm run lint:fix     # Fix linting issues
npm run format       # Format all files
npm run format:check # Check formatting
npm run type-check   # TypeScript checking
npm run test         # Run unit tests
npm run test:watch   # Watch mode tests
npm run test:ci      # Full CI test suite
npm run clean        # Clean build artifacts

Production & Deployment

npm run start        # Build and serve production
npm run preview      # Preview production build
npm run deploy       # Build for deployment

Advanced

npm run build:dev    # Development CSS build (no minification)

Design System

Border Radius Consistency

We’ve implemented a consistent border radius system across all components:

Class Value Usage
rounded-none 0px Sharp edges, no rounding
rounded-xs 2px Very subtle rounding for small elements
rounded-sm 4px Small rounding for badges, tags, small buttons
rounded 6px Default rounding for most UI components
rounded-md 8px Medium rounding for cards, larger components
rounded-lg 12px Large rounding for containers and sections
rounded-xl 16px Extra large rounding for hero sections
rounded-full 9999px Circular elements

See DESIGN_SYSTEM_BORDER_RADIUS.md for detailed usage guidelines.

Community Contributions

We enthusiastically welcome contributions from the developer community! Here’s how you can contribute to the project:

  1. Fork the repository
  2. Create a dedicated feature branch
  3. Implement your changes
  4. Submit a comprehensive pull request

Contribution Opportunities:

Strategic Roadmap

License

This project is completely free and open source under the MIT License.

Acknowledgments

Special thanks to:


Happy coding! ✨