Appica UIUI 1.0.0

useDismissible

Track and persist dismissed surfaces.


useDismissible manages the show/hide state of a dismissible element — an alert, chip, banner or announcement — and remembers the dismissal so it stays gone on the next visit. It's built on useLocalStorage, so it's SSR-safe and synced across tabs and components.

Usage

Signature

Return value

© 2026 Appica UI. A free component library, crafted by the Appica team.