A Ruby component library for DaisyUI using Phlex
PhlexyUI is a component library built with Phlex, a Ruby gem for building fast object-oriented HTML components. On top of DaisyUI, the most popular component library for Tailwind CSS.
# Card
1 Card :base_100, class: "shadow-xl" do |card| 2 figure do 3 img(src:) 4end 5 6 card.body do 7 card.title do 8"Shoes!" 9end 10 11 p do 12"If a dog chews shoes whose shoes does he choose?" 13end 14 15 card.actions class: "justify-end" do 16 Button :primary do 17"Buy Now" 18end 19end 20end 21end

If a dog chews shoes whose shoes does he choose?