diff --git a/layouts/sbx-cli.html b/layouts/sbx-cli.html
index 0b10f5e0fa..77c59e9e47 100644
--- a/layouts/sbx-cli.html
+++ b/layouts/sbx-cli.html
@@ -28,6 +28,22 @@
+ {{- /* Experimental callout (command-level) */ -}}
+ {{ if $data.experimental }}
+
+
+ {{ partialCached "icon" "beaker" "beaker" }}
+ {{ i18n "experimental" }}
+
+
This command is experimental.
+
+ Experimental features are intended for testing and feedback as their
+ functionality or design may change between releases without warning or
+ can be removed entirely in a future release.
+
+
+ {{ end }}
+
{{- /* Description */ -}}
{{ with $data.description }}
{{ $heading := dict "level" 2 "text" "Description" }}
@@ -54,7 +70,14 @@
{{ $child := index hugo.Data.sbx_cli .Params.datafile }}
{{ .Title }} |
- {{ $child.synopsis }} |
+
+
+ {{ if $child.experimental }}
+ {{ partialCached "components/badge.html" (dict "color" "violet" "content" "experimental") "sbx-exp" }}
+ {{ end }}
+ {{ $child.synopsis }}
+
+ |
{{ end }}
{{ end }}
@@ -91,9 +114,14 @@
{{ end }}
- {{ with .usage }}
- {{ strings.TrimSpace . }}
- {{ end }}
+
+ {{ with .experimental }}
+ {{ partialCached "components/badge.html" (dict "color" "violet" "content" "experimental") "sbx-exp" }}
+ {{ end }}
+ {{ with .usage }}
+ {{ strings.TrimSpace . }}
+ {{ end }}
+
|
{{ end }}
@@ -132,9 +160,14 @@
{{ end }}
- {{ with .usage }}
- {{ strings.TrimSpace . }}
- {{ end }}
+
+ {{ with .experimental }}
+ {{ partialCached "components/badge.html" (dict "color" "violet" "content" "experimental") "sbx-exp" }}
+ {{ end }}
+ {{ with .usage }}
+ {{ strings.TrimSpace . }}
+ {{ end }}
+
|
{{ end }}