Indicator Warning Review
Indicator renders a small dot next to a label, button, or other such component. It is used to draw user's attention to new or changed content.
<duet-grid grid-template="medium">
<duet-link><duet-indicator></duet-indicator>Lorem ipsum</duet-link>
</duet-grid> Properties #
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
accessibleLabel | accessible-label | Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this property. | string | undefined |
variation | variation | The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used only in special cases, as errors and succeses normally require a more prominent message. | "change" | "error" | "new" | "success" | "change" |
Usage #
This section includes guidelines for designers and developers about the usage of this component in different contexts.
When to use #
- To give user a subtle hint that something has changed.
When not to use #
- When a subtle hint is not enough.
- When user action is required.
Integration
For integration, event and theming guidelines, please see Using Components. This documentation explains how to implement and use Duet’s components across different technologies like Angular, React or Vanilla JavaScript.
Tutorials
Follow these practical tutorials to learn how to build simple page layouts using Duet’s CSS Framework, Web Components and other features:
Tutorials
Building Layouts
TutorialsUsing CLI Tools
TutorialsCreating Custom Patterns
TutorialsServer Side Rendering
TutorialsSharing Prototypes
TutorialsUsage With Markdown
Troubleshooting
If you experience any issues while using a component, please head over to the Support page for more guidelines and help.