Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

Large diffs are not rendered by default.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,23 @@ Labels are typically used in filter and selection use cases to indicate what sel
![Example of labels as filters in a toolbar.](./img/label-filters.svg)
</div>

#### Preview labels

To communicate that a feature is in a preview mode, instead of fully released and supported, use a [nonstatus purple label](#nonstatus-labels). There are 2 common types of preview labels:
1. **Developer preview:** Intended for early evaluation and feedback. These features are not supported and not ready for production environments.
2. **Technology preview:** Available for early use and feedback. These features have limited support and are typically on the roadmap for a future full release.

Preview labels should use the compact size variant and should be placed beside the title of the new feature or component&mdash;ideally to the right of the feature title.

Preview labels should also be clickable. When clicked, display a popover with a brief explanation of the preview type (stability, potential limitations) and include a "Learn more" link directing users to dedicated documentation.

<div class="ws-docs-content-img">
![Developer preview and technology preview labels with descriptive popover above each.](./img/preview-labels.svg)
</div>

#### Color considerations

Labels can utilize both our [status](/design-foundations/colors#status-and-state-colors) and [nonstatus](/design-foundations/colors#nonstatus-colors) color palettes.
Labels can utilize both our [status](/design-foundations/colors#status-and-state-colors) and [nonstatus](/design-foundations/colors#nonstatus-colors) color palettes.

While you may use other colors for your labels, we recommend using the ones provided as they have been carefully selected to be accessible with the PatternFly library. If you choose to use other colors, be mindful of picking [accessible text color and icon color](/accessibility/testing-your-accessibility) to go with the label background.

Expand Down