Feedback v1.0.0

Banner

Persistente Ankündigungsleiste für wichtige Mitteilungen, Aktionen oder Warnungen. Unterstützt Schließen mit localStorage-Persistenz, Aktionsschaltflächen und mehrere Varianten. Kann am oberen oder unteren Rand des Viewports fixiert oder inline im Dokumentfluss dargestellt werden.

Vorschau & Code

Optionen

Name Typ Standard Beschreibung
message * String erforderlich The banner message text
variant Symbol :info Visual style: :info, :success, :warning, or :error
dismissible Boolean false Whether the banner can be dismissed
persist_dismiss Boolean false Remember dismissal via localStorage (requires dismiss_key)
dismiss_key String nil localStorage key for persistent dismissal
action_text String nil Text for the action button/link
action_url String nil URL for the action button
position Symbol :top Banner position: :top, :bottom, or :inline
icon Boolean true Show the variant icon

Änderungsprotokoll v1.0.0

- Initial release with info, success, warning, and error variants
- Fixed top/bottom positioning and inline rendering mode
- Dismissible with optional localStorage persistence
- Optional action button/link with arrow icon
- Variant-specific icons and color schemes with dark mode support

Vollzugang erhalten

Schalte den Quellcode für diese und alle anderen Komponenten frei. Einmalige Zahlung für lebenslangen Zugang.

Jetzt Zugang erhalten