phlex

A framework for building object-oriented views in Ruby. (by phlex-ruby)

Phlex Alternatives

Similar projects and alternatives to phlex

  1. htmx

    633 phlex VS htmx

    </> htmx - high power tools for HTML

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. shadcn/ui

    270 phlex VS shadcn/ui

    Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

  4. view_component

    A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

  5. shoelace-css

    73 phlex VS shoelace-css

    A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME 👇👇👇

  6. stimulus_reflex

    Build reactive applications with the Rails tooling you already know and love.

  7. oclif

    35 phlex VS oclif

    CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.

  8. Haml

    28 phlex VS Haml

    HTML Abstraction Markup Language - A Markup Haiku

  9. liveviews

    Phoenix LiveView workalikes for different languages and frameworks

  10. hiccup

    18 phlex VS hiccup

    Fast library for rendering HTML in Clojure

  11. Arbre

    3 phlex VS Arbre

    An Object Oriented DOM Tree in Ruby

  12. tortoise-orm

    11 phlex VS tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

  13. maglev-core

    Ruby on Rails website builder

  14. Pagy

    10 phlex VS Pagy

    🏆 The Best Pagination Ruby Gem 🥇

  15. view_components

    ViewComponents for the Primer Design System

  16. rux

    9 phlex VS rux

    A jsx-inspired way to render view components in Ruby.

  17. HyperUI

    6 phlex VS HyperUI

    Free Tailwind CSS components for application UI, ecommerce and marketing with support for dark mode, RTL and Alpine JS 🚀

  18. tagify

    8 phlex VS tagify

    🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue

  19. Cells

    7 phlex VS Cells

    View components for Ruby and Rails.

  20. Hamlit

    1 phlex VS Hamlit

    High Performance Haml Implementation

  21. pyxl4

    5 phlex VS pyxl4

    Extend Python syntax with HTML.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better phlex alternative or higher similarity.

phlex discussion

Log in or Post with

phlex reviews and mentions

Posts with mentions or reviews of phlex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-11.
  • Django and Postgres for the Busy Rails Developer
    10 projects | news.ycombinator.com | 11 Dec 2024
    A bit off topic, but whenever Rails and templating get brought up, I have to plug my absolute favorite project out there: [Phlex](https://beta.phlex.fun/). It's like ViewComponents, but swap out the ERB for pure Ruby. It has been a joy to develop with.

    With the addition of Phlex::Kit, it has made building out a component library pretty easy too. [RubyUI](https://github.com/ruby-ui/ruby_ui) does a great job of showing off how to do this.

  • Do React ao Hotwire - Parte II - [PT-BR]
    5 projects | dev.to | 16 Jun 2024
  • From React to Hotwire - Part II - [EN]
    5 projects | dev.to | 16 Jun 2024
    As an alternative to ViewComponent, I found Phlex. It comes with the boldness of creating components using only Ruby code. This is the kind of boldness that scares. I was scared when I first saw React put HTML, JS, and CSS (StyledComponents) inside a component. I was scared to see Tailwind create classes for each CSS property and have HTML created with dozens of classes in an element. Letting go of this "prejudice" and testing Phlex was important here. But the decisive factor was following the creator of Phlex, Joel Drapper, on social media and realizing how motivated he is.
  • Phlex: Fast, object-oriented view framework for Ruby
    1 project | news.ycombinator.com | 15 Feb 2024
  • RailsWorld 2023: Hotwire Edition
    3 projects | dev.to | 8 Oct 2023
    The community was a delight! I can't even count how many people I connected with, and it was just great to meet people whom I had previously only interacted with online. Also got to meet a lot of those people who significantly contribute to the Rails ecosystem. Everyone I said hi to was more than willing to spare time and nerd out and share experiences. I was also thrilled to connect with Philip, who shares my enthusiasm for Phlex. He provided me with some exciting ideas for creating an even more crazy yet cohesive form object with Phlex.
  • Anyone tried Django? How does it compare to RoR?
    3 projects | /r/rails | 24 Jun 2023
    Why use ActiveAdmin or RailsAdmin: Brick is not nearly as configurable -- at least yet! With Brick you can drop in your own model / controller / view template and it will use it, but on its own you can not change theming / use it to do templating tricks / etc. Currently working hard to arrive upon a straightforward and logical approach so that all of this will be possible. Looking into Arbre (used by ActiveAdmin) and Phlex for inspiration.
  • Phlex is the ruby way to build your views
    2 projects | dev.to | 8 Jun 2023
    Phlex is an incredibly refreshing gem created by Joel Drapper. It introduces a remarkable way to build views in pure Ruby, as exemplified below:
  • Any component based UI system for Rails?
    4 projects | /r/rails | 3 Jun 2023
  • I built a Rails app using 100% Phlex components and 0% Erb
    2 projects | /r/rails | 18 Apr 2023
    A few months ago I came across https://www.phlex.fun and thought it was a nifty little library that could be useful for creating components. Since then I've been playing around with it in Rails, using it more seriously, and finally took it to a point where I built a Rails application with 100% Phlex components and 0% Erb. The other crazy thing is I figured out how to inline the Phlex view components into a controller, so prototyping Rails apps feels vaguely familiar to prototyping one in Sinatra.
  • Vanilla Rails view components with partials | Stanko K.R.
    2 projects | /r/ruby | 3 Apr 2023
    A colleague has been using Phlex and I’ve since tried it as well. For me having it all be straight ruby, in one file, has worked and just from my personal preference something I’ve enjoyed over view_components.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic phlex repo stats
22
1,323
9.3
about 1 month ago

phlex-ruby/phlex is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of phlex is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?