diff --git a/packages/code-connect/components/Page/DesktopPageWithHorizontalNav.figma.tsx b/packages/code-connect/components/Page/DesktopPageWithHorizontalNav.figma.tsx
new file mode 100644
index 00000000000..3afdf4bcaad
--- /dev/null
+++ b/packages/code-connect/components/Page/DesktopPageWithHorizontalNav.figma.tsx
@@ -0,0 +1,59 @@
+import figma from '@figma/code-connect';
+import {
+ Masthead,
+ MastheadMain,
+ MastheadBrand,
+ MastheadLogo,
+ MastheadContent,
+ Page,
+ PageSection,
+ PageSidebar,
+ PageSidebarBody,
+ Toolbar,
+ ToolbarContent,
+ ToolbarItem
+} from '@patternfly/react-core';
+
+// Documentation for Page can be found at https://www.patternfly.org/components/page
+
+figma.connect(Page, 'https://www.figma.com/design/VMEX8Xg2nzhBX8rfBx53jp/PatternFly-6--Components?node-id=7620-35193', {
+ props: {
+ masthead: (
+
+
+
+
+ Logo
+
+
+
+
+
+
+ Navigation
+ header-tools
+
+
+
+
+ ),
+ sidebar: (
+
+ )
+ },
+ example: (props) => (
+
+
+ Horizontal nav example section 1
+
+
+ Horizontal nav example section 2 with secondary variant styling
+
+
+ Horizontal nav example section 3
+
+
+ )
+});
diff --git a/packages/code-connect/components/Page/DesktopPageWithLeftNav.figma.tsx b/packages/code-connect/components/Page/DesktopPageWithLeftNav.figma.tsx
new file mode 100644
index 00000000000..829edef17ea
--- /dev/null
+++ b/packages/code-connect/components/Page/DesktopPageWithLeftNav.figma.tsx
@@ -0,0 +1,73 @@
+import figma from '@figma/code-connect';
+import {
+ Masthead,
+ MastheadBrand,
+ MastheadContent,
+ MastheadLogo,
+ MastheadMain,
+ MastheadToggle,
+ Page,
+ PageSection,
+ PageSidebar,
+ PageSidebarBody,
+ PageToggleButton,
+ Toolbar,
+ ToolbarContent,
+ ToolbarItem
+} from '@patternfly/react-core';
+
+// Documentation for Page can be found at https://www.patternfly.org/components/page
+
+figma.connect(
+ Page,
+ 'https://www.figma.com/design/VMEX8Xg2nzhBX8rfBx53jp/PatternFly-6--Components?node-id=25656-311374',
+ {
+ props: {
+ masthead: (
+
+
+
+ {}}
+ id="vertical-nav-toggle"
+ />
+
+
+
+ Logo
+
+
+
+
+
+
+ header-tools
+
+
+
+
+ ),
+ sidebar: (
+
+ )
+ },
+ example: (props) => (
+
+
+ Vertical nav example section 1
+
+
+ Vertical nav example section 2 with secondary variant styling
+
+
+ Vertical nav example section 3
+
+
+ )
+ }
+);
diff --git a/packages/code-connect/figma.config.json b/packages/code-connect/figma.config.json
index 2537e14be2b..82625586524 100644
--- a/packages/code-connect/figma.config.json
+++ b/packages/code-connect/figma.config.json
@@ -1,15 +1,9 @@
{
"codeConnect": {
"parser": "react",
- "include": [
- "components/DatePicker/*.tsx",
- "components/EmptyState/*.tsx",
- "components/FileUpload/*.tsx",
- "components/Hint/*.tsx",
- "components/InlineEdit/*.tsx"
- ],
- "paths": {
- "src/components": "src/components"
+ "include": ["components/Page/*.figma.tsx"],
+ "documentUrlSubstitutions": {
+ "https://www.figma.com/design/VMEX8Xg2nzhBX8rfBx53jp/PatternFly-6--Components": "https://www.figma.com/design/VMEX8Xg2nzhBX8rfBx53jp/branch/9HiAevBhEc2iYY9rxZtovA/PatternFly-6--Components"
},
"aliases": {
"@patternfly/react-core": "."
@@ -30,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}