CI Hex.pm Downloads Documentation Last Commit License: MIT Conventional Commits

Aurora UIX

Declarative, compile-time CRUD UI generation for Elixir's Phoenix LiveView. Build feature-rich, responsive interfaces with minimal code using metadata-driven configuration and a powerful layout DSL.

🚀 New to Elixir or Phoenix? Follow the Build Your First App tutorial — a copy-paste walkthrough from nothing installed to a running CRUD app.


📖 Overview

Aurora UIX is a metadata-driven UI framework for Elixir's Phoenix LiveView that lets you rapidly generate complete CRUD interfaces from your Ecto schemas or Ash resources. Instead of writing repetitive form and list code, define your resource once and get a fully functional, responsive UI with built-in validation, association handling, and real-time updates.

Why Aurora UIX?

Key Features:

Generate

Work with data

Embed

Adapt

Technology Stack


⚡ Quick Example

Describe a resource, then lay out its views:

defmodule MyAppWeb.Products do
  use Aurora.Uix

  alias MyApp.Inventory
  alias MyApp.Inventory.Product

  auix_resource_metadata :product do
    context Inventory
    schema Product
    field :name, placeholder: "Product name", required: true
    field :price, precision: 12, scale: 2
  end

  auix_create_ui do
    index_columns :product, [:name, :price]

    edit_layout :product do
      inline [:name, :price]
    end
  end
end

Once routed, it gives you a product list, a show view and the forms to create and edit. The Overview has a fuller example with sections and associations.


🚀 Getting Started

You need Elixir 1.17+ and a Phoenix 1.8+ application with Phoenix LiveView 1.2+. Add Aurora UIX to its mix.exs:

def deps do
  [
    {:aurora_uix, "~> 0.2.1"}
  ]
end

Then follow the Getting Started guide: the stylesheet, the icons, the JavaScript hooks, your first views and their routes.

Starting from nothing installed? Follow Build Your First App instead.


📖 Documentation & Guides

Complete documentation is available in the guides and on HexDocs:


🤝 Contributing

We welcome contributions! Aurora UIX is maintained by WAdvanced and community members.

Before contributing, read the Contributing Guidelines which includes:

Quick links:


📜 License

Licensed under the MIT License.


📧 Contact