ilyabayel

ilyabayel

Hi everyone!

I’d like to introduce Essence UI, a component library for Phoenix LiveView heavily inspired by Radix UI and built around a simple idea:

Your component library should handle accessibility, behavior, and layout without deciding what your application should look like.

Essence UI provides a growing collection of common UI patterns as unstyled, customizable components. Each component includes the structure, interaction logic, state management, and accessibility needed to work properly in a LiveView application.

You add the styles and turn those building blocks into a component library that follows your own design language.

Bring your own design system

Many component libraries give you finished components, but also bring their own visual identity. Essence UI takes a different approach. It’s primitives give you the difficult parts:

  • Accessible markup and keyboard interactions
  • Component state and behavior
  • Predictable composition
  • LiveView-specific logic
  • Reusable layout and structure
  • Consistent component APIs

The visual layer remains yours. You can customize the primitives with your own CSS, tokens, spacing, typography, colors, and animations to create components that feel native to your product.

Prefer ready-made components?

You don’t have to build everything from scratch. Essence UI also includes pre-styled components built on top of the same primitives. You can use them directly, customize their appearance, or treat them as examples for building your own design system.

This gives you two ways to work:

  • Use the unstyled primitives when you want complete control over your design.
  • Use the pre-styled components when you want polished UI without writing all the styles yourself.

You can also mix both approaches within the same application.

Why Essence UI?

After building several LiveView applications, I wanted a component system that offered the flexibility of headless UI libraries while remaining native to Phoenix and LiveView.

The goal of this library is to give you the ability to create unique user interfaces with minimal effort.

Project goals

  • Accessible components by default
  • Unstyled primitives with complete layout and interaction logic
  • Give users full control over visual design for Primitives
  • Pre-styled components for faster development with Themes
  • APIs designed specifically for Phoenix LiveView
  • Minimal dependencies—no Alpine.js, Tailwind, or similar frameworks required
  • Pure CSS for themed components
  • A consistent foundation for custom design systems

LiveView-only support

Essence UI currently supports LiveView pages only.

Traditional Phoenix pages rendered through controllers—sometimes referred to as dead views—are not supported at the moment. Some components rely on LiveView-specific lifecycle, state, and interaction features, so they should not be expected to work outside LiveView.

For now, I want to keep the project focused on providing the best possible LiveView experience. If there is enough interest in dead view support, I will consider adding it in the future.

Current status

Essence UI is still under active development, but it has reached the point where I’d like to share it with the community and gather feedback before expanding the component set.

I’d especially appreciate feedback on:

  • Primitive APIs
  • Composition patterns
  • Accessibility
  • Customization experience
  • Component naming
  • The balance between unstyled and pre-styled components

Documentation, examples, and additional components are already on the roadmap.

I’d love to hear your thoughts and suggestions.

Documentation: Essence UI — Primitives
Hex: https://essence-ui.hexdocs.pm/
Repository:

Showing Posts 1 to 2

ryanzidago

ryanzidago

Nice one, this is awesome :raising_hands:
IMHO the Phoenix ecosystem needs more and more component libraries!

ilyabayel

ilyabayel OP

Thank you! Indeed, it would be great if Elixir community had more convenient ways to build UI faster and simpler

— All posts loaded —

Where Next? Top

Trending in Announcing Top

bluzky
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
387 15136 120
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 11030 135
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
shahryarjb
The Chelekom project is a library of Phoenix and LiveView components generated via Mix tasks to fit developer needs seamlessly. One of i...
New
woylie
Phoenix components for pagination, sortable tables and filter forms with Flop and (optionally) Ecto. pagination cursor pagination sorta...
New
kip
Please say hi to a new lib, Astro that aims to deliver easy-to-consume astronomy calculations of practical use. For now it only calculat...
New

Other Trending Topics Top

akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
mudasobwa
I am seeing a lot of aplications of Argumentum ad Vericundiam in software discussions. They do link some piece of writing and point us to...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews