This Week's Trending Top

StephanLehmke
Is there an inherent problem with dynamically generating tailwind class names in a component? I wanted to make the button color configur...
New

This Month's Trending Top

This Year's Trending Top

DestroyedSoul
Hello, In my project I need custom core components, i.e. input fields etc that are styled a bit differently. I know I can provide class ...
New

Last Three Year's Trending Top

Fl4m3Ph03n1x
Background I have a button that may be disabled or not, depending on a set of conditions. I want to disable/enable the button without hav...
New
belaustegui
Hi. I am updating a project from Phoenix LiveView 0.18.18 to 0.20 and I’ve noticed a behaviour change that is breaking my application. ...
New
John-Goff
Hi all, Using the latest phx_new (1.7.12), when a new project is generated, the input/1 function in core_components.ex declares a slot :...
New
sw3dish
I am trying to use Alpine JS (3.13.2) with Phoenix 1.7.10, using dead views generated by mix phx.gen.html In a file such as my_app/lib/m...
New
kerryb
I have a schema with a boolean field with a default value of true. I’m using this in a LiveView, wrapped in a changeset and converted to ...
New
solop
I want to render an icon based on some kind of params: defp render_status_icon(case, classes) do icon_name = case case.status do ...
New
siros123
Hello, I am still learning the basics of Phoenix so I apologize if this question has an obvious answer that I couldn’t find through Googl...
New
D4no0
I am currently working on development of some phoenix components. As I can’t integrate them into pages (yet), I would like to see how th...
New
manuel-rubio
Hi people, I was playing a bit with Phoenix components and I just realised that the way I wanted to use the components is a bit tricky, I...
New
bluejack
What is defeating me today: I want a component, included from a layout template, to have access to conn and/or assigns What I am doing:...
New
marschro
Hi all, I build an application that can be configured during build time to use different sets of Phoenix UI Components. The whole setup...
New
boriscy
Hello I would like to know if it’s possible to render the template on a .html.heex file for compoients inside liveview I have this compo...
New
pxp9
attr :rest, :global slot :inner_block def navbar(assigns) do assigns = join_classes_with_rest(assigns, ["navbar"]) ~H""" ...
New
sezaru
I have the following component in my project: defmodule UI.Icons do use Phoenix.Component attr :rest, :global def loading(assign...
New
drakkhenn
Hi everyone, I am not a specialist in web technologies, and I am not sure if I am pursuing the right path or not. Here is the situation...
New

Trending Over Three Years Top

elt547
I’m trying to get my function components available in all of my views. My shared components are in there own files under /live/components...
New
silverdr
I’d like to have a generic, abstract (I apologise for the OO terminology :wink: component, which takes care of all the styling and can be...
New
shahryarjb
Imagine you have a core component for LiveView/Phoenix component, and it has some static component like icon For example: <Heroicons....
New
benonymus
Hey, I am refactoring some code into Phoenix Components, and everything is working great, except it seems like the truncate tailwind css...
New
ca1989
I have a bunch of Phoenix Components. May be possible to render them in a Livebook? That would be absolutely brillant as a living docum...
New
Sebb
I want to build a custom select. I need to render all options (when expanded) and always the selected option additionally at the top. &...
New
markquezada
I’m migrating a small/medium sized application to use the new phx 1.7 view-less component paradigm and I’ve run into a few issues. Our l...
New
blset
Hello, with latest liveview, inside a liveview with a form and validate event some form input tags are in shared regular leex component...
New
mattfara50
I have a situation at work where two distinct Phoenix projects, A and B, duplicate the same schemas, since they truck in the same db tab...
New
enkr1
Hi community, I would like to build a multiple selection field which has a suggestion shown on typing. I don’t have any luck in googling...
New
blset
in the new setup with components accessed from a controller from the docs Components and HEEx Templates — Phoenix v1.7.0-rc.0 Phoenix a...
New
elnovice
Hi all, how can I pass the form and the field to live_file_input/1 so that the name attribute is built correctly? Thank you
New
globz
Hi, I am trying to migrate my project to live_view 0.18.3 and I am having problems with live_patch…here’s my current code: def modal(a...
New
duncanphillips
Hi. I’m trying to create a custom input component and can’t figure out the right way to do it. The component I’m trying to build is a d...
New
elnovice
Hi all, I am planning to start writing my own components library. My doubt is: Should I write all live components? Or should I keep s...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement