diff --git a/docs/src/examples/elements/Input/Variations/InputExampleIconChild.js b/docs/src/examples/elements/Input/Variations/InputExampleIconChild.js
index 0a4f5d8a07..901ba7a3b2 100644
--- a/docs/src/examples/elements/Input/Variations/InputExampleIconChild.js
+++ b/docs/src/examples/elements/Input/Variations/InputExampleIconChild.js
@@ -1,19 +1,20 @@
-import React from 'react'
-import { Icon, Input } from 'semantic-ui-react'
+import React from 'react';
+import { Icon, Input } from 'semantic-ui-react';
+const CustomInput = ({ icon, iconPosition = 'right', placeholder }) => (
+
+ {iconPosition === 'left' &&
, spacing can be handled via CSS.
+// More Readable & Scalable – Cleaner structure with props controlling the component
const InputExampleIconChild = () => (
-