# NEUI (Neo UI)

**NEUI** is a modern, GPU-accelerated Python UI framework designed to be "Better than Tkinter". It features a custom Flexbox-like layout engine, a React-inspired event system, and beautiful default styling.

## Features

*   **Modern Look**: Dark mode by default, rounded corners, and smooth rendering.
*   **Flexbox Layout**: Easy `row` and `col` layouts with `justify`, `align`, and `gap`.
*   **GPU Accelerated**: Built on `skia-python` and `glfw` for high performance.
*   **Interactive**: Built-in support for Hover, Click, Focus, and Drag events.
*   **Components**:
    *   `Box`, `Text`, `Input`
    *   `Button`, `Card`, `Toggle`, `Slider`

## Installation

```bash
pip install neui
```

## Quick Start

```python
from neui import App, ui, cui

def on_click():
    print("Hello from NEUI!")

app = App(title="My App", width=400, height=300)

with ui.Box(style={"layout": "col", "align": "center", "justify": "center", "w": "100%", "h": "100%", "bg": "#222"}) as root:
    ui.Text("Welcome to NEUI", style={"font_size": 24, "color": "white"})
    cui.Button("Click Me", on_click=on_click, style={"mt": 20})

app.add(root)
app.run()
```

## License

MIT
