PixelUI is a comprehensive UI framework for CC: Tweaked with 30+ widgets, advanced animations, theming system, and everything you need to create professional-looking interfaces.
Everything you need to build professional UIs for ComputerCraft with modern design patterns and advanced functionality
The most comprehensive widget library for ComputerCraft. From simple buttons to complex charts, every component is crafted with attention to detail and modern UX principles.
Smooth, hardware-accelerated animations with custom easing functions, property chaining, and completion callbacks for dynamic UIs.
Flexible layout system with automatic positioning, responsive design, and intelligent spacing calculations.
Advanced scrollable containers with smooth scrolling, custom scrollbars, and mouse wheel support.
Complete event system with mouse, keyboard, touch, drag, and focus events with proper event propagation.
Comprehensive theming with color schemes, dark/light modes, and per-widget style customization.
Extensible plugin architecture for custom widgets, themes, and functionality with hot-reloading support.
Start building amazing UIs in just a few steps
Download the pixelui.lua file and place it in your ComputerCraft computer.
wget https://github.com/Shlomo1412/PixelUI/raw/main/pixelui.lua
Require the framework and initialize it in your program.
local PixelUI = require("pixelui")
PixelUI.init()
Start creating widgets and building your UI.
PixelUI.label({
x = 2, y = 2,
text = "Hello, PixelUI!",
color = colors.cyan
})
PixelUI.button({
x = 2, y = 4,
text = "Click Me",
onClick = function()
print("Button clicked!")
end
})
Start the event loop and enjoy your beautiful UI!
PixelUI.run()
See PixelUI in action with these real-world examples showcasing the power and flexibility of the framework
Smooth property animations with easing functions, chaining, and callbacks for dynamic UI effects.
Real-time data visualization with interactive line charts, customizable colors, and smooth animations.
Animated tab interface with smooth transitions, multiple content panels, and responsive design.
Animated loading bars with progress indication, customizable styles, and smooth transitions.
Smooth drag-and-drop functionality with visual feedback, window positioning, and intuitive user interaction.
Multiple spinner styles with customizable animations, colors, and speeds for loading states.
Dropdown selection interface with scrollable options, search functionality, and clean styling.
Organized layout containers with child widgets, borders, and flexible arrangement options.
Scrollable list interface with item selection, highlighting, and keyboard navigation support.
Visual progress bars with customizable colors, value display, and smooth progress animation.
Modern toggle switches with smooth animations, labels, and state management for boolean settings.
Interactive checkboxes with labels, state management, and form integration capabilities.
Radio button groups for single selection from multiple options with clear visual feedback.
Organized grouping containers with titles, borders, and logical widget arrangement.
Modal message dialogs with custom buttons, icons, and user interaction handling.
Complete reference for all PixelUI widgets and functions
Explore detailed documentation for all 30+ widgets, functions, and features in our dedicated API reference page.
Extend PixelUI with custom widgets, themes, and functionality through our powerful plugin architecture
PixelUI's plugin system allows you to create custom widgets, add new themes, implement animations, and extend the framework with your own functionality. Plugins integrate seamlessly with the core framework and can be shared with the community.
Create custom UI widgets with full integration into the PixelUI system, including event handling, theming, and animation support.
Design custom color schemes and visual styles that can be applied to any PixelUI application with a single line of code.
Extend framework behavior by hooking into core events and lifecycle methods, perfect for adding logging, analytics, or custom behaviors.
Add new functionality to the PixelUI API, creating helper functions, utilities, and enhanced features that other plugins can use.
Start with a simple plugin template that includes metadata, initialization, and your custom functionality.
Add your widgets, themes, or extensions using PixelUI's comprehensive plugin API and lifecycle hooks.
Load your plugin into PixelUI and test it with real applications. Debug and refine using built-in development tools.
Plugins are automatically discovered and loaded from multiple sources including files, directories, and URLs.
Plugins can specify dependencies and the system ensures proper loading order and compatibility.
Full lifecycle management with initialization, activation, deactivation, and cleanup hooks.
Plugins run in controlled environments with access to approved APIs while maintaining system security.
Develop and test plugins with instant reloading during development for faster iteration cycles.
Comprehensive API reference, examples, and guides for plugin development and best practices.
Explore our comprehensive plugin documentation and start building your own extensions today.
Download PixelUI and start building amazing UIs for ComputerCraft today!