sezaru
Flashy - A small library to extend LV's flash notifications
Hey everyone,
I made a small library to extend the current flash notification functionality from Phoenix and LiveView.
Flashy is a simple replacement for the built-in flash support and components that ships with Phoenix.
Features:
- Keep notifications between redirects;
- Support rendering function and live components as notifications;
- Support auto-hide;
- Supports creation of custom notifications;
- No Javascript library is used.
Here is small video showing it is practice:
You can check it out here: GitHub - sezaru/flashy: Flashy is a small library that extends LiveView's flash support to function and live components. · GitHub
If you want to test it out first, you can clone my example project here: GitHub - sezaru/flashy_example: Small project showing Flashy features · GitHub
Trending in Announcing
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
New
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
The Chelekom project is a library of Phoenix and LiveView components generated via Mix tasks to fit developer needs seamlessly.
One of i...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Hello,
I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself.
I use Claude Code daily on a pr...
New
Other Trending Topics
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
We want to introduce a new native datatype to Erlang: native records. Although replacing all tuple records with native records is not our...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Introduction
Founded in 2017 by landscape ecologist and fire mitigation expert Harry Statter, Frontline developed the first fully integra...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #performance
- #security











Most Liked
sezaru
Hey everyone,
I just pushed a new version of
Flashy0.2.0.The main features of this version are:
@christhekeele I think this version will have all the customization you probably need.
I added a new section to the README explaining step-by-step how to customize the notifications to make them show in the left side as an example, you can find it here:
https://github.com/sezaru/flashy#customizing-css
I also added a branch called
left_side_notificationsto theflashy_examplerepo with these customization in case someone want to just see it in action.TwistingTwists
Lovely stuff. Would give this a spin on first chance I get.
sezaru
Hey everyone,
I just pushed version 0.2.6 and version 0.2.7.
Version 0.2.6 adds support for adding notifications with a manual key.
Basically you only need this if you want to replace a notification that is already exists with another one.
You do that by adding a custom key when creating the notification to the socket:
If you want to see this working, you can check it out in the GitHub - sezaru/flashy_example: Small project showing Flashy features · GitHub project.
Version 0.2.7 adds support for setting the
dismiss_timevalue via a configuration during compile time as requested by @absowootLast Post!
sezaru
Hey everyone,
I just pushed a new version of Flashy 0.3.1.
The main features of this version are:
You can see how to use it here:
https://github.com/sezaru/flashy?tab=readme-ov-file#flashy