package.docs.demos.NotificationDrawer.examples.NotificationDrawer.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of patternfly Show documentation
Show all versions of patternfly Show documentation
Assets, source, tooling, and content for PatternFly 4
The newest version!
---
id: Notification drawer
section: components
---## Demos
### Collapsed
```html isFullscreen
Main title
This is a full page demo.
This is a card
This is a card
This is a card
This is a card
This is a card
This is a card
This is a card
This is a card
This is a card
This is a card
Notifications
0 unread
-
Info notification:
Read
info notification title
This is an info notification description.
-
Custom notification:
Read
recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
This is a recommendation notification description. This is a long description to show how the title will wrap if it is long and wraps to multiple lines.
-
Custom notification:
Read
recommendation notification title. This is a long title to show how the title will wrap if it is long and wraps to multiple lines.
This is a recommendation notification description. This is a long description to show how the title will wrap if it is long and wraps to multiple lines.
-
Warning notification:
Read warning notification title
This is a warning notification description.
-
Success notification:
Read success notification title
This is a success notification description.
-
Success notification:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis odio risus. Ut dictum vitae sapien at posuere. Nullam suscipit massa quis lacus pellentesque scelerisque. Donec non maximus neque, quis ornare nunc. Vivamus in nibh sed libero feugiat feugiat. Nulla lacinia rutrum est, a commodo odio vestibulum suscipit. Nullam id quam et quam porttitor interdum quis nec tellus. Vestibulum arcu dui, pulvinar eu tellus in, semper mattis diam. Sed commodo tincidunt lacus non pulvinar. Curabitur tempor molestie vestibulum. Vivamus vel mi dignissim, efficitur neque eget, efficitur massa. Mauris vitae nunc augue. Donec augue lorem, malesuada et quam vitae, volutpat mattis nisi. Nullam nec venenatis ex, quis lobortis purus. Sed nisl dolor, mattis sit amet tincidunt quis, mollis sed massa.
This example uses ".pf-m-truncate" to limit the title to a single line and truncate any overflow text with ellipses.
-
Success notification:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent quis odio risus. Ut dictum vitae sapien at posuere. Nullam suscipit massa quis lacus pellentesque scelerisque. Donec non maximus neque, quis ornare nunc. Vivamus in nibh sed libero feugiat feugiat. Nulla lacinia rutrum est, a commodo odio vestibulum suscipit. Nullam id quam et quam porttitor interdum quis nec tellus. Vestibulum arcu dui, pulvinar eu tellus in, semper mattis diam. Sed commodo tincidunt lacus non pulvinar. Curabitur tempor molestie vestibulum. Vivamus vel mi dignissim, efficitur neque eget, efficitur massa. Mauris vitae nunc augue. Donec augue lorem, malesuada et quam vitae, volutpat mattis nisi. Nullam nec venenatis ex, quis lobortis purus. Sed nisl dolor, mattis sit amet tincidunt quis, mollis sed massa.
This example uses ".pf-m-truncate" and sets "--pf-v6-c-notification-drawer__list-item-header-title--max-lines: 2" to limit title to two lines and truncate any overflow text with ellipses.
-
Success notification:
Notification drawer item title
This example uses ".pf-m-no-offset" on the action wrapper to disable the default offset for button alignment.
```
### Expanded read
```html isFullscreen
```
### Expanded unread
```html isFullscreen
```
### Expanded attention
```html isFullscreen
```
### Expanded with groups
```html isFullscreen
```
## Documentation
This demo implements the notification drawer in context of the page component.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy