Media

v0.0.10

Media components put pictures, icons and video on a page. Icon draws a Heroicon by name, with its size and color set by Tailwind classes. Image shows a single picture that adapts to the screen, Gallery lays out many in a default, masonry or featured layout, Carousel steps through images or other content with its own controls, and Video plays a clip from one or more sources, with subtitles and a thumbnail.

They are generated into your Phoenix project as source code and styled with Tailwind CSS, so you can change them where they live. Each page below shows the component with examples.