Feedback
v0.0.10
Feedback components tell people what just happened, or what needs their attention. Alert shows a fixed message, or the flash messages your server sends after an action, alone or in a group; Banner is a message bar that can be dismissed and placed where you need it; Toast shows short notifications without interrupting what the reader is doing.
Like every Chelekom component, each is generated into your Phoenix project as code you own, and set up with attributes such as color and size. The pages below show each one with examples.
- Alert ComponentStatelessJS-module Alert, Flash and Flash group components for Phoenix LiveView. Pick the color with the kind prop, choose a variant, then set position, width, icon and border.
- Banner ComponentStatelessJS-module Dismissible banners for Phoenix LiveView with variants, border and rounded options, vertical and horizontal placement, and a dismiss button on either side.
- Toast ComponentStatelessJS-module Phoenix LiveView toast with variants, a dismiss button, top or bottom and left, center or right placement, show_toast and hide_toast helpers, and toast_group.