Skip to content

UI Heat is a responsive library set to helping developers add some style to their site in the fast manner possible. Time to plug and play.

License

Notifications You must be signed in to change notification settings

HoseaCodes/ui-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ UI Heat

UI Heat Logo

A modern, framework-agnostic component library for faster web development

GitHub last commit GitHub npm version

πŸš€ Live Demo β€’ πŸ“š Documentation β€’ πŸ“– Storybook

🎯 Overview

UI Heat is a comprehensive component library ecosystem consisting of:

  • πŸ“± Demo Application - Interactive showcase and documentation site (this repository root)
  • πŸ“¦ Component Library - Publishable npm package with reusable components (/packages directory)
  • πŸ“– Storybook - Interactive component documentation and playground
  • πŸ“š Docusaurus Site - Comprehensive documentation and guides

Built for developers who value simplicity, performance, and flexibility across React, React Native, and vanilla JavaScript.

πŸ—οΈ Project Structure

ui-library/
β”œβ”€β”€ πŸ“± Demo App (Root)           # React showcase application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/          # Demo app components
β”‚   β”‚   β”œβ”€β”€ pages/              # Documentation pages
β”‚   β”‚   └── api/                # API integration examples
β”‚   └── package.json            # Demo app dependencies
β”‚
└── πŸ“¦ Component Library (/packages)
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ components/         # Reusable UI components
    β”‚   └── stories/           # Storybook stories
    β”œβ”€β”€ docs/                  # Docusaurus documentation
    β”œβ”€β”€ rollup.config.js       # Library build configuration
    └── package.json           # Library package configuration

πŸš€ Quick Start

For Users (Install the Library)

# Install UI Heat in your project
npm install ui-heat

# Or with yarn
yarn add ui-heat

For Contributors (Development Setup)

# 1. Clone the repository
git clone https://github.com/HoseaCodes/ui-library.git
cd ui-library

# 2. Install demo app dependencies
npm install

# 3. Install library dependencies
cd packages && npm install && cd ..

# 4. Start the demo application
npm start

The demo app will open at http://localhost:3000

πŸ“š Usage Examples

React Application

import React from 'react';
import { Button, Card } from 'ui-heat';

function App() {
  return (
    <Card>
      <h2>Welcome to UI Heat</h2>
      <Button variant="primary" size="large">
        Get Started
      </Button>
    </Card>
  );
}

export default App;

React Native Application

import React from 'react';
import { Button } from 'ui-heat/native';

export default function App() {
  return (
    <Button 
      variant="primary"
      title="Click me"
      onPress={() => alert('Hello from UI Heat!')}
    />
  );
}

Vanilla JavaScript

import { createButton } from 'ui-heat';

const button = createButton({
  variant: 'primary',
  text: 'Click me',
  onClick: () => console.log('Button clicked!')
});

document.body.appendChild(button);

🧩 Component Overview

UI Heat provides a comprehensive set of components organized by category:

🎯 Core Components

  • Button - Versatile button component with multiple variants
  • Card - Flexible container component for content
  • Input - Form input with validation and styling
  • Modal - Accessible modal dialogs

🧭 Navigation

  • Navbar - Responsive navigation bar
  • Sidebar - Collapsible sidebar navigation
  • Breadcrumb - Navigation breadcrumb trail
  • Tabs - Tabbed content interface

πŸ“Š Data Display

  • Table - Feature-rich data tables
  • List - Styled list components
  • Badge - Status and notification badges
  • Progress - Progress bars and indicators

πŸ“ Forms

  • FormGroup - Form organization and layout
  • Select - Dropdown select component
  • Checkbox - Styled checkbox inputs
  • Radio - Radio button groups

🎨 Feedback

  • Alert - Contextual feedback messages
  • Toast - Temporary notification system
  • Tooltip - Contextual help and information
  • Loading - Loading states and spinners

πŸ“– View complete component documentation β†’

πŸ”§ Development Workflow

Working with the Demo App

# Start demo application
npm start

# Build demo for production
npm run build

# Run tests
npm test

Working with the Component Library

cd packages

# Start Storybook for component development
npm run storybook

# Build the library for publishing
npm run build-lib

# Build Storybook for deployment
npm run build-storybook

Working with Documentation

cd packages/docs

# Start Docusaurus development server
npm start

# Build documentation site
npm run build

πŸ“‹ Available Scripts

Demo App Scripts

Script Description
npm start Start development server
npm run build Build demo app for production
npm test Run test suite
npm run eject Eject from Create React App

Library Scripts (in /packages)

Script Description
npm run storybook Start Storybook development server
npm run build-storybook Build Storybook for deployment
npm run build-lib Build library for npm publishing

🌐 Resources & Links

Resource Description Link
πŸš€ Live Demo Interactive showcase and documentation uiheat.com
πŸ“š Documentation Comprehensive guides and API reference docs.uiheat.com
πŸ“– Storybook Interactive component playground storybook.uiheat.com
πŸ“¦ NPM Package Install UI Heat in your project npmjs.com/package/ui-heat
πŸ’» GitHub Source code and issue tracking github.com/HoseaCodes/ui-library

🎨 Theming & Customization

UI Heat supports comprehensive theming through CSS custom properties:

:root {
  --ui-primary: #E84545;        /* Primary brand color */
  --ui-secondary: #FF6B6B;      /* Secondary/accent color */
  --ui-background: #1a1a1a;     /* Background color */
  --ui-text: #ffffff;           /* Text color */
  --ui-radius: 8px;             /* Border radius */
  --ui-spacing: 1rem;           /* Base spacing unit */
}

🎨 Learn more about theming β†’

🀝 Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes in the appropriate directory:
    • Demo app changes: /src
    • Library components: /packages/src/components
    • Documentation: /packages/docs
  4. Add tests and update documentation
  5. Commit changes: git commit -m 'Add amazing feature'
  6. Push to branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Development Guidelines

  • Follow the coding style defined in .github/copilot-instructions.md
  • Write tests for new components using React Testing Library
  • Update Storybook stories for UI changes
  • Include accessibility features (ARIA labels, keyboard navigation)
  • Test responsive design on multiple screen sizes

🀝 Read our full contributing guide β†’

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with ❀️ by Dominique Hosea
  • Inspired by modern design systems and developer experience
  • Community-driven development and feedback

⭐ Star this repository if UI Heat helps you build better interfaces!

Made with ❀️ for the developer community

About

UI Heat is a responsive library set to helping developers add some style to their site in the fast manner possible. Time to plug and play.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published