Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a Beautiful UI with Phlex & RubyUI

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Seth Seth
March 06, 2025

Building a Beautiful UI with Phlex & RubyUI

Tired of slow ERB templates and messy view logic? Discover how Phlex and RubyUI bring blazing-fast (12x!) and beautiful components to Rails while maintaining the Ruby way we all love. Let's see how we can build modern, accessible UIs without leaving the Rails ecosystem!

Avatar for Seth

Seth

March 06, 2025
Tweet

Other Decks in Technology

Transcript

  1. Current State of Rails Views • ERB templates are slow

    and hard to maintain • No type safety or component encapsulation • Poor developer experience • Hard to build consistent, accessible UIs
  2. What is Phlex? Ruby-native view framework that replaces ERB •

    12x faster than ERB • Type-safe components • Native Ruby syntax • Better IDE support
  3. Component-Based Architecture • Components are reusable building blocks • Each

    component is self-contained • Components can be composed together • Everything is a component
  4. Learn More • Documentation -> rubyui.com • GitHub repository ->

    github.com/ruby-ui/ruby_ui • Community resources -> github.com/orgs/ruby-ui/discussions • @SethHorsley @cirdesh @george_kettle @marcoroth