AndyL

AndyL

What is the best CSS Framework to use with LiveView? Especially when it comes to things like modals, tooltips, responsive/adaptive designs, dismissable alerts, collapsible sidebars, accordions, drag-n-drop, carousels, etc. Thanks in advance!

Showing Posts 25 to 16

jrrrome

jrrrome

I used to use Bulma as well. It was hard to believe when people told me I could build an entire site without touching css using Tailwind, but it’s absolutely true. Amazing project.

hubertlepicki

hubertlepicki

Yes, but when making this choice you have to look into the question “is it going to work well with my JS/nojs/backend thing”.

When it comes to “best CSS framework” for LiveViews, I will re-iterate what the others said above: the ones that do not require or rely on JavaScript at all will be probably “best”. The same when you choose CSS framework for say Angular, and the CSS you chose has nice modals but only with jQuery support, you should expect some extra work to be done, or some extra figuring out how to do the same thing jQuery bindings do on your own. Same with LiveView. Pure CSS framework with no requirement for JavaScript to get full funcionality would be my preference.

unsek

unsek

What’s the best CSS framework for React? Vue? That’s a difficult question to answer and frankly doesn’t really ask anything, because CSS frameworks aren’t gauged by that metric. Instead they’re evaluated based on the job you’re trying to accomplish. That’s the whole shtick with frameworks.

andreaseriksson

andreaseriksson

Yes, I am working on Guardian (for api) and Pow is also coming.

mahaqmi

mahaqmi

just found out about it. And it’s amazing. Can you do with pow/guardian. As a noob, I have a problem using phx_gen_auth for rest api (without html). Pow have a specific guide to use with API when I was exploring the library

bigbassroller

bigbassroller

Is there anything that Bootstrap is missing from Tailwind?

I’ve been using Bootstrap for eight years and have become very fluent in using as a utility CSS framework, like practitioners of Tailwind.

The only thing that seems missing is the quality of components in TailwindUI and mindshare.

I would use TailwindUI but it has a license that prohibits using them in your own website builder application. Ive been working towards making one my whole career, so not using TailwindUI unless its to copy them into Bootstrap components, so I can use in my website builder application.

kamranhossain

kamranhossain

I am using Bulma.

Qqwy

Qqwy

TypeCheck Core Team

I’m very happy with using Semantic-UI in combination with LiveView.
It’s really a breeze to add to a project and to customize.
Since it contains nearly no elements that require JavaScript to work, it is very easy to drive from within LiveView as well.

tfwright

tfwright

Tailwind’s “utility first” design has been a game changer for me. I’m no designer, but I find it amounts to an extremely powerful set of CSS conventions that have cut the amount of time I spend fiddling with CSS by 75% easy, while still allowing me to produce less “cookie cutter” UI. For me it occupies a perfect middle point between something like Milligram and Bulma. Personally I don’t think I would use Bootstrap in another project.

(In contrast, I’m not sure I’ve figured out the right way to use Alpine.js, for the reasons I laid out here. It makes certain things really easy, like handling modal close on click out, but any much more than that I want to reach for LV Hooks or Vue, both of which make it easier to keep JS cleanly abstracted. But I haven’t tried using it for CSS transitions, which I think is one of its main selling points).

tme_317

tme_317

Mike also has an excellent post on adding Tailwind to your Phoenix v1.4 or v1.5 project.

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

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
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews