Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A beautifully designed UI component library that you can copy and paste into your Next.js apps by Empire Code Foundation. Accessible. Customizable. Open Source.

License

Notifications You must be signed in to change notification settings

kanhaiya-dct/ui

Β 
Β 

Repository files navigation

πŸš€ EmpireUI - AI-Powered React Component Library

EmpireUI is a modern, feature-rich component library designed specifically for AI-powered applications. Built with React, TypeScript, and TailwindCSS, our components leverage the latest in AI technology to help you create sophisticated, intelligent interfaces with minimal effort.

EmpireUI Banner

🌟 Features

  • πŸ€– AI-Ready Components: Pre-built components optimized for AI applications
  • 🎨 Modern Design: Clean, responsive design with customizable themes
  • πŸ“± Next.js Integration: Seamless integration with Next.js applications
  • πŸ”’ TypeScript Support: Full type safety for all components
  • β™Ώ Accessibility: WCAG compliant components for inclusive applications
  • 🌐 Open Source: 100% open source, community-driven development

πŸ“¦ Installation

# Install via npm
npm install @empireui/components

# Or using yarn
yarn add @empireui/components

# Or using pnpm
pnpm add @empireui/components

πŸš€ Quick Start

import { AISummarizer } from "@empireui/components";

function App() {
  return (
    <AISummarizer
      openAIApiKey="your-api-key"
      onSummaryGenerated={(summary) => console.log(summary)}
    />
  );
}

πŸ€– AI Components

1. AISummarizer

Document summarization component that uses OpenAI's GPT model to generate concise summaries from text files.

2. SpeechToText

Real-time speech-to-text conversion with browser's Web Speech API and OpenAI Whisper integration.

3. ChatInterface

Interactive chat interface with OpenAI GPT integration, message history, and real-time responses.

4. AIImageGenerator

AI-powered image generation using DALLΒ·E, with customizable prompts and image sizes.

5. SmartDataTable

Natural language querying of tabular data with AI-powered filtering and analysis.

6. PromptEditor

A powerful component for creating, editing, and testing AI prompts with variable support.

7. VoiceCommandButton

Voice command interface for triggering actions through speech recognition.

πŸ› οΈ Development

Prerequisites

  • Node.js 16+
  • npm/yarn/pnpm
  • TypeScript 4.5+

Setup

# Clone the repository
git clone https://github.com/empirecodefoundation/ui.git

# Install dependencies
cd ui
npm install

# Start development server
npm run dev

Project Structure

ui/
β”œβ”€β”€ packages/
β”‚   └── components/          # Main component library
β”‚       β”œβ”€β”€ src/
β”‚       β”‚   β”œβ”€β”€ components/  # React components
β”‚       β”‚   └── lib/        # Shared utilities
β”‚       └── dist/           # Build output
└── examples/               # Example applications

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Code Style

πŸ“š Documentation

For detailed documentation, visit our documentation site.

πŸ—οΈ Architecture

EmpireUI is built with:

  • React 19+
  • TypeScript
  • TailwindCSS
  • Radix UI Primitives
  • OpenAI API Integration

πŸ“„ License

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

🌟 Community

Join our community of developers building the future of AI interfaces:

πŸ™ Acknowledgments

  • OpenAI for their powerful AI models
  • Radix UI for accessible primitives
  • TailwindCSS for utility-first CSS
  • All our contributors and supporters

Made with ❀️ by the Empire Code Foundation

πŸ“– Table of Contents


πŸ” About Empire UI

Empire UI is more than just a component libraryβ€”it's a complete solution for developers building AI-powered applications on Next.js. Whether you're creating a chatbot interface, an AI-driven dashboard, or any other AI-infused project, Empire UI provides the tools and components you need to build stunning, performant applications.

🎨 Design Philosophy

  • Minimalist: Simple, elegant, and modern design.
  • AI-Ready: Seamlessly integrate AI features using Vercel AI SDK and other tools.
  • Developer-Friendly: Easy to use, extend, and customize.

✨ Features

  • AI-Ready Components: Pre-built components ready for AI integration.
  • Next.js Optimized: Components optimized for use with Next.js applications.
  • Vercel AI SDK Integration: Out-of-the-box support for Vercel AI SDK.
  • Responsive Design: Fully responsive components for all screen sizes.
  • Customizable: Easily extend and customize components to suit your needs.
  • Open Source: 100% open source, community-driven.

βš™οΈ Installation

Install Empire UI in your Next.js project with the following commands:

npm install @empire-ui/core
# or
yarn add @empire-ui/core
# or
pnpm add @empire-ui/core

About

A beautifully designed UI component library that you can copy and paste into your Next.js apps by Empire Code Foundation. Accessible. Customizable. Open Source.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.9%
  • MDX 7.9%
  • JavaScript 3.2%
  • Other 1.0%