Skip to main content

Notice

cds-notice

The notice component is a versatile feedback tool that can be used for displaying both empty state messages and various types of system feedback. Whether you need to inform users that there's no data available or provide some static feedback, this ensures clear and consistent communication

Default

  • Feedback: --information
  • Position: --center
Nothing here yetLooks like there's no data to display. Start by adding a new item or refreshing the page.
<div class="cds-notice">
<span class="cds-notice__icon cds-ph-magnifying-glass"></span>
<span class="cds-notice__title">Nothing here yet</span>
<span class="cds-notice__text">Looks like there...</span>
</div>

Elements

ElementCodeParentHTML tagRequired
Iconcds-notice__iconBlock: cds-notice<span>required
Herocds-notice__heroBlock: cds-notice<span>optional
Titlecds-notice__titleBlock: cds-notice<span>required
Textcds-notice__textBlock: cds-notice<span>optional
Footercds-notice__footer (container)Block: cds-notice<div>optional
404Page not foundThe page you're looking for doesn't exist. Try going back or check the URL.

Modifiers

ModifierOptions
Feedback--information, --success, --alert, --error
Position--center, --left

Feedback

No files here yetLooks like this folder is empty. Start by uploading a new file.

All set!Your action was completed successfully.

Something went wrongAn unexpected error occurred. Try again or contact support if the issue persists.
<div class="cds-notice cds-notice--success cds-notice--center">
<span class="cds-notice__icon cds-ph-check-circle-fill"></span>
<span class="cds-notice__title">All set!</span>
<span class="cds-notice__text">Your action was completed successfully.</span>
</div>

States

ModifierOptions
Statesis-loading

Is loading

We're almost there!The content is loading. Please be patient while we fetch the data.
<div class="cds-notice is-loading">
<span class="cds-notice__icon cds-ph-house"></span>
<span class="cds-notice__title">We're almost there!</span>
<span class="cds-notice__text">The content is loading...</span>
</div>