diff --git a/doc/calendar/IconDoc.vue b/doc/calendar/IconDoc.vue
index c4d1aeda7..907ebdaeb 100644
--- a/doc/calendar/IconDoc.vue
+++ b/doc/calendar/IconDoc.vue
@@ -15,7 +15,7 @@
-
+
@@ -36,7 +36,7 @@ export default {
-
+
`,
@@ -55,7 +55,7 @@ export default {
-
+
@@ -89,7 +89,7 @@ export default {
-
+
diff --git a/doc/iconfield/BasicDoc.vue b/doc/iconfield/BasicDoc.vue
index 95b6cb181..8583009ec 100644
--- a/doc/iconfield/BasicDoc.vue
+++ b/doc/iconfield/BasicDoc.vue
@@ -7,16 +7,12 @@
-
-
-
+
-
-
-
+
@@ -32,16 +28,12 @@ export default {
code: {
basic: `
-
-
-
+
-
-
-
+
`,
@@ -49,16 +41,13 @@ export default {
-
-
-
+
+
-
-
-
+
@@ -79,16 +68,12 @@ export default {
-
-
-
+
-
-
-
+
diff --git a/doc/iconfield/TemplateDoc.vue b/doc/iconfield/TemplateDoc.vue
new file mode 100644
index 000000000..3f371e61c
--- /dev/null
+++ b/doc/iconfield/TemplateDoc.vue
@@ -0,0 +1,92 @@
+
+
+ Custom content inside an InputIcon is defined as children.
+
+
+
+
+
+
diff --git a/doc/iconfield/theming/StyledDoc.vue b/doc/iconfield/theming/StyledDoc.vue
index 5e1b7be5b..de3a07ec0 100644
--- a/doc/iconfield/theming/StyledDoc.vue
+++ b/doc/iconfield/theming/StyledDoc.vue
@@ -11,13 +11,21 @@
- p-input-icon-right |
+ p-icon-field |
+ Container of element. |
+
+
+ p-icon-field-right |
Right input icon element. |
- p-input-icon-left |
+ p-icon-field-left |
Left input icon element. |
+
+ p-input-icon |
+ Container of input icon. |
+
diff --git a/pages/iconfield/index.vue b/pages/iconfield/index.vue
index f7ebaaf54..3465dfe51 100644
--- a/pages/iconfield/index.vue
+++ b/pages/iconfield/index.vue
@@ -6,6 +6,7 @@
import AccessibilityDoc from '@/doc/iconfield/AccessibilityDoc.vue';
import BasicDoc from '@/doc/iconfield/BasicDoc.vue';
import ImportDoc from '@/doc/iconfield/ImportDoc.vue';
+import TemplateDoc from '@/doc/iconfield/TemplateDoc.vue';
import PTComponent from '@/doc/iconfield/pt/index.vue';
import ThemingDoc from '@/doc/iconfield/theming/index.vue';
@@ -23,6 +24,11 @@ export default {
label: 'Basic',
component: BasicDoc
},
+ {
+ id: 'template',
+ label: 'Template',
+ component: TemplateDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',