+
+ Most form controls accept a prepend and{' '}
+ append prop that allows passing a single
+ node/string or an array of nodes/strings. Strings will be converted
+ into form labels and connected to the input via{' '}
+ htmlFor for accessibility.
+
+
+ These are great for demarcating the input's metric like
+ "px" or "ms". You can also pass buttons for
+ input settings or additional filters. Just be sure to use
+ <EuiButtonEmpty size="xs" />.
+
+
+ ),
+ source: [
+ {
+ type: GuideSectionTypes.JS,
+ code: PrependAppendSource,
+ },
+ {
+ type: GuideSectionTypes.HTML,
+ code: PrependAppendHtml,
+ },
+ ],
+ demo: