Note
Callout information that would be relevant to the user.
import { VNote, VIcon } from '@vonage/vivid-api-vue';
<VNote headline="Changes Saved Successfully" connotation="success"
><template #icon><VIcon name="check-circle" /></template
import { registerNote } from '@vonage/vivid-api';
registerNote('your-prefix');
import { registerNote } from '@vonage/vivid-api';
registerNote('your-prefix');
<your-prefix-icon slot="icon" name="check-circle" label="Success:"></your-prefix-icon>
Your changes have been saved successfully. You can now continue working.
Any slotted content will appear below the headline.
import { VNote, VIcon } from '@vonage/vivid-api-vue';
<VNote headline="Note Headline" connotation="information">
<VIcon name="home-line" label="User information:" />
<p>This is the text that explains about something important!</p>
<vwc-note headline="Note Headline" connotation="information">
<vwc-icon slot="icon" name="home-line" label="User information:"></vwc-icon>
<p>This is the text that explains about something important!</p>
Set the icon slot to show an icon before the note’s headline.
If set, the icon(deprecated) attribute is ignored.
import { VNote, VIcon } from '@vonage/vivid-api-vue';
<VNote headline="Task in my todo list">
<VIcon name="check-circle-solid" connotation="success" label="Done" />
<vwc-note headline="Task in my todo list">
<vwc-icon slot="icon" name="check-circle-solid" connotation="success" label="Done"></vwc-icon>
| Property | Type | Default | Description |
|---|
| connotation | 'accent' | 'success' | 'alert' | 'warning' | 'information' | 'announcement' | | |
| headline | string | | Sets the headline text |
| Property | Type | Default | Description |
|---|
| connotation | 'accent' | 'success' | 'alert' | 'warning' | 'information' | 'announcement' | | |
| headline | string | | Sets the headline text |
| Name | Description |
|---|
| default | Any slotted content will appear below the headline. |
| icon | The preferred way to add an icon to the component. |
| Name | Description |
|---|
| default | Any slotted content will appear below the headline. |
| icon | The preferred way to add an icon to the component. |