Latest #heex Threads 
I need to show a inside a text element in SVG and try to use xml:preserve-whitespace which works but mix format on save modifies the out...
New
I just published canonical_tailwind, a formatter plugin that canonicalizes Tailwind CSS utility classes in HEEx templates.
- mr-4 custom...
New
Hey!
I implemented this code some time ago to compile HEEx templates and give them to MJML (it’s mostly inspired by the live view render...
New
I’m using the excellent Flop and Flop.Phoenix libraries to handle sorting/filtering/etc, but I’ve run into an annoying warning I haven’t ...
New
I have the following utility template, for a list that is required to be rendered as a grid whenever CSS is enabled:
<%!-- grid_list....
New
I’ve been having fun getting familiar with Igniter for code generation and modification. Thanks for building and releasing it @zachdaniel...
New
I having difficulty understanding what’s happening here:
slot :inner_block, required: true
def button(assigns) do
~H"""
<button&...
New
I wanted to share a method for embedding HEEx components inside of markdown files as templates, in the form of a mini-guide here on the f...
New
I use the Apexcharts JS library to draw graphs in my Phoenix application. The Apexchart integration is done according to this example.
I...
New
Hi, I’m new to Phoenix and looking for some guidance on how I can approach building an app that allows users to author their websites (bl...
New
This Week's Trending
I just published canonical_tailwind, a formatter plugin that canonicalizes Tailwind CSS utility classes in HEEx templates.
- mr-4 custom...
New
This Month's Trending
This Year's Trending
Asking to get a sense of what other people are doing with their template logic…
The template code
I’m reading some third-party template ...
New
Hi everyone! Recently I was thinking a lot about the way HEEX renders lists. People are generally surprised about huge payloads being sen...
New
Phoenix Live Favicon
Favicon manipulation for Phoenix Live
A lib enabling dynamic favicons in Phoenix Live View applications.
To sho...
New
Hey!
I implemented this code some time ago to compile HEEx templates and give them to MJML (it’s mostly inspired by the live view render...
New
I have the following utility template, for a list that is required to be rendered as a grid whenever CSS is enabled:
<%!-- grid_list....
New
I need to show a inside a text element in SVG and try to use xml:preserve-whitespace which works but mix format on save modifies the out...
New
I’m using the excellent Flop and Flop.Phoenix libraries to handle sorting/filtering/etc, but I’ve run into an annoying warning I haven’t ...
New
Last Three Year's Trending
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode.
The solution seems to be, in a hyphena...
New
I’m happy to finally present to you the best Sublime Text package for Elixir, templates and more! :partying_face: :confetti_ball:
Elixi...
New
Specifically when only a substring in an attribute’s value if dynamic. Here’s a concrete example. I’m translating some templates from .le...
New
Out of curiousity how does conditional rendering :if heex attribute work? I look into the web console logs and see that if condition is t...
New
Background
I have a Phoenix application, where all pages (expect the login page) have a menu at the top.
This menu will therefore only a...
New
tailwind will go through your files and find classes using a RE.
So you can’t interpolate tailwind classes.
<div class={"w-#{@foo}"}...
New
HEEX formatter (Phoenix.LiveView.HTMLFormatter / mix format) seems to introduce an unexpected line break in the generated html. User erro...
New
Hi! I’m working in a liveview and want to fill attributes such as id, for label and title with a value from a for-loop.
<ul>
...
New
Hi there! The recent developments w.r.t. Surface and HEEx are very cool!
One thing that would be the cherry on top, would be an indentat...
New
Hi all
I am still learning Elixir, Phoenix and LiveView. I love the way I can describe the state in my LiveView and it is automagically ...
New
Hello! I am trying to convert all the UI strings in the HEEx generated via phx.gen.auth to use gettext. However, I’m running into trouble...
New
Hello I am new to Phoenix and am coming back to Elixir after a ~4 year hiatus.
I would like to add HTML attributes to HEEx elements, and...
New
Hello,
I was looking over the code generated by phx.gen.auth in my app and I noticed this:
<.form
let={f}
for={@password_c...
New
Using Phoenix 1.6.6 here.
Is there a way to bring some CSS files nearer to their sole use in a HEEX template and still be hot reloaded b...
New
I am new to Phoenix and Elixir and I am quite bad at it.
I am making a component todos which successfully fetches the todos from the dat...
New
Trending Over Three Years
Suppose I have a *.heex template file that I am iterating rapidly on and I just want to comment out a chunk of it for a few moments. Wha...
New
Hello folks! Are there any libraries for formatting of HEEx templates?
New
Is there an alternative to Alpine.js in Phoenix 1.6?
I am trying to use this simple example:
<div x-data="{ open: false }">
...
New
What’s the equivalent Heex of this Leex example:
<ul>
<%= for {option, css_class} <- @options do %>
<li>
...
New
I’ve been starting to work with Phoenix framework, I am currently following some LiveView tutorials. The tutorial that I am currently fol...
New
I have a bunch of components and a list of data with different “types”. I want to render the appropriate component depending on the type...
New
I’m running into some problems while upgrading a Phoenix project from 1.5 to 1.6. Specifically, my question is: why is phoenix_live_view ...
New
I want to disable an HTML button conditionally in a HEEX template. Currently I am doing this:
<%= if @valid_sheet do %>
<b...
New
I have a template file that looks like the following:
<h1> The title: <%= @title %> </h1>
<%= Jason.encode(@my_dat...
New
I’ve been out of the loop for the whole HEEx thing, despite experimenting a lot with EEx rendering optimizations.
I have some HEEx quest...
New
with EEx.function_from_file I can create a function from an eex-template, call it and get a rendered string back.
How can I do that with...
New
What is the proper way to interpolate boolean attributes like checked in an input in the new HEEx engine?
For example, in LEEx if I want...
New
Hello everyone,
I’m seeking help in converting the following HTML code snippets into the new HEEx template format:
<dd class="descp"...
New
I’ve been converting my EEX and LEEX to HEEX and so far it’s been working fine. But I ran into one problem that I couldn’t figure out.
I...
New
Before Heex I could do something like this:
<div id="profile" class="border-2 bg-white px-4 py-1 <%= if @user.active, do: "bg-whit...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex
- #json







