Home
NexoPOS

ns-notice

Overview

The ns-notice component displays a notice panel with a colored left border. It is useful for warnings, information messages, and contextual instructions inside dashboard views.

Props and slots

  • color: optional style name. Defaults to info.
  • title slot: notice title.
  • description slot: notice body.
  • Default slot: additional body content.
  • controls slot: action buttons or links.
<ns-notice color="warning">
    <template #title>Configuration required</template>
    <template #description>Complete the module settings before using this feature.</template>
    <template #controls>
        <ns-button type="info" href="/dashboard/settings">Open settings</ns-button>
    </template>
</ns-notice>