Skip to content

Display

Visual components for presenting data and content

Badge

Status labels and tags in multiple variants and sizes

Default
Secondary
Outline
Destructive
Success
Warning
Info

Separator

Horizontal and vertical dividers with decorative/semantic modes

Horizontal (default)

Left
Center
Right
OR

Kbd

Keyboard shortcut labels with monospaced styling

Save
⌘ S
Search
⌘ K
Undo
⌘ Z
New tab
Ctrl T

Tabs

Server-side tab switching — default_value sets initial active panel

Live Preview

Component renders here

Avatar & AvatarGroup

User initials with fallback and stacked group layouts

A BS CJ DL

Avatar group (stacked)

Card

Composed card with header, content, footer slots

Simple Card

Basic card with header and content

Card body content goes here. Cards can contain any HTML or component.

With Footer

Card with action footer

Card content with a footer below.

SelectableCard

Click-to-select option cards — great for plan pickers and preferences

Selected: pro

ReceiptCard

Order summary card with label/value rows

Order #1042

March 6, 2026

Paid
PhiaUI Pro License $199.00
Additional seat (×3) $45.00
Discount (SUMMER20) -$48.80
Total $195.20

Timeline

Vertical event sequence with status icons, rich content, and timestamps

  1. Just now

    Deployment completed

    v0.1.16 is live in production

    success
    auto-deploy
  2. 45 min ago

    All tests passed

    142 unit tests, 38 integration tests — 0 failures

    180/180
  3. 2 hours ago

    Build started

    Triggered by push to main

  4. 3 hours ago

    Code review approved

    2 of 2 reviewers approved the changes

    AS
    BC
    approved
  5. 5 hours ago

    Review requested

    PR #247 — "feat: add activity feed component"

    feat/activity-feed
    +342 -18
  6. Yesterday

    Branch created

    feat/activity-feed from main

  7. 2 days ago

    Build failed

    3 tests failed in test/components/timeline_test.exs

    failure

ActivityFeed

Grouped activity log — 6 event types with icons, avatars, and timestamps

Today
  1. A Deployment succeeded — v0.1.16 pushed to production by @admin 2 min ago
  2. CD Carol Davis mentioned @you in #design-review 35 min ago
  3. BC Bob Chen uploaded Q1_Report_Final.pdf to Analytics Dashboard 1 hour ago
  4. DL David Lee completed a 32 min call with Acme Corp — Sprint planning 2 hours ago
  5. EW Eve Wilson reacted ❤️ to your comment in API Gateway 3 hours ago
  6. System backup completed — All databases snapshotted successfully 5 hours ago
Yesterday
  1. FL Frank Lee completed task Database migration in Data Pipeline 9:00 AM
  2. GC Grace Chen shared brand-guidelines-v3.zip with the Design team 2:30 PM
  3. Sprint 14 archived — 12 of 14 stories completed (86% velocity) 6:00 PM
Mar 5, 2026
  1. HD Hank Davis mentioned @you in Security checklist — "Can you review the auth flow?" 10:00 AM
  2. AS Alice Smith scheduled a design review call for Thursday at 2 PM 3:00 PM

Breadcrumb

Hierarchical navigation trail with separator and current page

Collapsible

CSS-transition show/hide panel — trigger dispatches JS event, zero round-trip

Skeleton

Loading placeholders for deferred content

Accordion

Collapsible sections — single or multiple open at once

Table

Data table with sortable header, badges and actions

Name Role Status Joined
Alice Brown
Admin
Active
Jan 2024
Bob Chen
Editor
Active
Feb 2024
Carol Davis
Viewer
Inactive
Mar 2024
David Evans
Editor
Pending
Apr 2024

Pagination

Page navigation with prev/next links

EmptyState

Placeholder for empty collections with CTA

No results found

Try adjusting your search or filter to find what you're looking for.

Icon

Lucide SVG sprite icons — 3 sizes, composable with any component

home
settings
user
users
bell
inbox
send
search
star
zap
shield
package
code
git-branch
folder
file
heart
phone
at-sign
check-square
pencil
tag
sparkles
calendar
image
upload
trash-2
plus
minus
x
check
circle-check
circle-x
triangle-alert
info
link
paperclip
building-2
briefcase
chart-bar
trending-up
trending-down
layout-dashboard
layout-grid
puzzle
reply
refresh-cw
pause
play
xs
sm
default
lg

TabsNav & TabsNavItem

Route-based link tabs in 3 visual variants — underline, pills, segment

Tree & TreeItem

Hierarchical data with expand/collapse via native details/summary — zero JS

  • lib
    • phia_demo_web
      • router.ex
  • mix.exs

Direction

LTR/RTL wrapper — pure HTML dir attribute, no JS

LTR

Hello, World! — Left to right text direction.

RTL (Arabic)

مرحبا بالعالم — Right to left text direction.

QrCode

Server-side SVG QR code generation — no JS, no CDN, inline SVG

Default

Custom colors + caption

Skeleton variants

skeleton_text, skeleton_avatar, skeleton_card — composite loading placeholders

skeleton_text

skeleton_avatar

skeleton_card

ScrollArea

Styled overflow container — vertical, horizontal, both orientations

Vertical scroll

Item 1 — scroll down to see more

Item 2 — scroll down to see more

Item 3 — scroll down to see more

Item 4 — scroll down to see more

Item 5 — scroll down to see more

Item 6 — scroll down to see more

Item 7 — scroll down to see more

Item 8 — scroll down to see more

Item 9 — scroll down to see more

Item 10 — scroll down to see more

Item 11 — scroll down to see more

Item 12 — scroll down to see more

Item 13 — scroll down to see more

Item 14 — scroll down to see more

Item 15 — scroll down to see more

Horizontal scroll

Phoenix
Elixir
LiveView
Tailwind
Lucide
PhiaUI

AspectRatio

CSS padding-top trick — maintains ratio at any container width

16:9

16 / 9

4:3

4 / 3

1:1

1 / 1

v0.1.16 Components

ChatMessage

Chat UI components — message bubbles with role-based alignment

Hello! How can I help you today? I'm here to answer any questions about PhiaUI components.
10:32 AM
Can you show me how to use the new Layout components in v0.1.16?
10:33 AM
Of course! The Layout module includes Stack, Flex, Grid, Center, Container, and more. Each supports responsive breakpoint maps for adaptive layouts.
10:33 AM

Typography

Text hierarchy — heading, text, lead, blockquote, inline_code, mark, overline, caption

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

This is a lead paragraph — larger, muted text perfect for article introductions.

Regular body text with highlighted content and code snippets inline.
"The best way to predict the future is to invent it." — Alan Kay
Category Label
Figure 1: Typography component hierarchy

CodeSnippet

Styled code display block with optional language badge

elixir

        defmodule MyApp.UserController do
          use MyAppWeb, :controller

          def show(conn, params) do
            user = Accounts.get_user!(params["id"])
            render(conn, :show, user: user)
          end
        end
      

Article

Article content wrapper with semantic HTML and typographic rhythm

Building Real-Time UIs with Phoenix LiveView

Mar 9, 2026 · 5 min read

Phoenix LiveView enables rich, real-time user experiences with server-rendered HTML. It leverages Elixir's concurrency model and Phoenix's channel layer to provide seamless interactivity without writing JavaScript.

With PhiaUI v0.1.16, you get 623 pre-built components that integrate natively with LiveView's event system, making it easy to build complex dashboards, forms, and data visualizations.