PyraUI – Phoenix LiveView Component System

PyraUI is a premium, production-ready component system for Phoenix LiveView. It combines meticulously crafted HEEx components, Tailwind-powered styling, and interactive LiveView demos so teams can ship polished UIs without reinventing basic patterns.


🌌 Crafting Delightful LiveView Experiences

PyraUI is more than a component libraryβ€”it is a design language shaped for real-time Phoenix apps. Each module embraces:

Whether you are launching dashboards, collaboration tools, or consumer experiences, PyraUI accelerates the journey from prototype to production without sacrificing craft.


✨ Highlights


πŸ“¦ Installation

Add PyraUI to your Phoenix project from Hex:

def deps do
  [
    {:pyraui, "~> 0.1.0"}
  ]
end

Fetch deps:

mix deps.get

Wire PyraUI helpers into your web layer (usually lib/my_app_web.ex):

defmodule MyAppWeb do
  use PyrauiWeb, :html

  # ...existing definitions
end

You now have every component available inside your HEEx templates:

<.button variant={:primary} size={:lg}>
  Launch Experience
</.button>

<.card class="max-w-md">
  <.badge variant={:solid} icon="sparkles">New</.badge>
  <h3 class="mt-4 text-xl font-semibold">Glass Panels</h3>
  <p class="mt-2 text-sm text-slate-500">
    Drag-resizable panels with frosted-glass surfaces and motion accents.
  </p>
</.card>

<.alert variant={:celebrate} badge="Ship it!" icon="party-popper">
  Your rollout finished with 0 regressions.
  <:actions>
    <.button variant={:ghost}>Share</.button>
  </:actions>
</.alert>

πŸ“š Documentation & Playground

Resource Description
Component Docshexdocs.pm/pyraui – API reference generated via ExDoc
Interactive Gallery Explore components at https://pyraui.onrender.com/docs with live previews
Guides & Recipes Coming soon – will cover theming, component composition, and deployment best practices

Popular entry points in the playground:


🧩 Component Catalog (Snapshot)

Category Components
Forms & Inputsbutton, input, textarea, select, checkbox, radio, toggle, slider, rating, tag_input, multi_select, password_strength_meter, date_picker
Feedback & Overlaysalert, toast, modal, drawer, tooltip (soon), progress, badge, badge_card
Navigation & Layoutnavbar, tabs, accordion, breadcrumbs, drawer, dock, stepper, wizard, card, skeleton, grid, masonry_grid, resizable_panels, filter_panel
Data Visualizationchart (line, bar, pie, stacked), animated_chart, gauge, heatmap, map, timeline, countdown
Collaboration & Sociallive_chat, live_feed, avatar, avatar_group, connections_widget, user_profile_card
Productivitykanban, gantt, sortable_list, signature_pad, file_upload, live_data_table

Every component ships with:

  1. API (attr/slot) documentation
  2. Multiple curated examples in the LiveView docs
  3. Tailwind-based styling with extensible class overrides

⚑️ Quick Start (Demo App)

Clone the repo and explore the full playground locally:

git clone https://github.com/abrshewube/Pyraui.git pyraui
cd pyraui
mix deps.get
mix phx.server

Visit https://pyraui.onrender.com for the landing page and https://pyraui.onrender.com/docs for the interactive component explorer. You can tweak assigns live and see the UI respond instantly thanks to LiveView streams.


🌐 Project Links


🀝 Collaborate With PyraUI

Passionate about elevating LiveView interfaces? Let's build together:

Bring your ideas, showcase your projects, or reach out if you want to sponsor premium components. PyraUI thrives on community energyβ€”your insight shapes the next wave of Phoenix UI.


πŸ—Ί Roadmap

Follow updates and contribute ideas via GitHub issues.


πŸ“„ License

PyraUI is released under the Apache 2.0 License.