panel content
-
diff --git a/platform/ui/src/gatsby-theme-docz/components/NavGroup/index.js b/platform/ui/src/gatsby-theme-docz/components/NavGroup/index.js
index 119e45475..bd75e1697 100644
--- a/platform/ui/src/gatsby-theme-docz/components/NavGroup/index.js
+++ b/platform/ui/src/gatsby-theme-docz/components/NavGroup/index.js
@@ -5,7 +5,6 @@ import { useCurrentDoc } from 'docz';
import * as styles from 'gatsby-theme-docz/src/components/NavGroup/styles';
import { NavLink } from 'gatsby-theme-docz/src/components/NavLink';
-import { NavGroup as DoczNavGroup } from 'gatsby-theme-docz/src/components/NavGroup';
import { ChevronDown } from 'gatsby-theme-docz/src/components/Icons';
export const NavGroup = ({ item, sidebarRef }) => {
diff --git a/platform/ui/src/views/ToolbarHeader/ToolbarHeader.mdx b/platform/ui/src/views/ToolbarHeader/ToolbarHeader.mdx
index 03866c0bf..0ed69f774 100644
--- a/platform/ui/src/views/ToolbarHeader/ToolbarHeader.mdx
+++ b/platform/ui/src/views/ToolbarHeader/ToolbarHeader.mdx
@@ -11,7 +11,7 @@ import { NavBar, Typography, Svg, Icon, IconButton } from '@ohif/ui';
# Toolbar Header
-This example shows you how you can build a Study List page using the available
+This example shows you how you can build a Toolbar using the available
components.
## Basic usage
diff --git a/platform/ui/src/views/ToolbarSecondary/ToolbarSecondary.mdx b/platform/ui/src/views/ToolbarSecondary/ToolbarSecondary.mdx
new file mode 100644
index 000000000..c8fdb7bbc
--- /dev/null
+++ b/platform/ui/src/views/ToolbarSecondary/ToolbarSecondary.mdx
@@ -0,0 +1,112 @@
+---
+name: Toolbar Secondary
+menu: Views
+route: examples/toolbarSecondary
+---
+
+import { useState } from 'react';
+import { Playground } from 'docz';
+import classnames from 'classnames';
+import { Icon, IconButton } from '@ohif/ui';
+
+# Toolbar Header
+
+This example shows you how you can build a Toolbar using the available
+components.
+
+## Basic usage
+
+
+ {() => {
+ const [activeTool, setActiveTool] = useState(null);
+ const [showTooltip, setShowTooltip] = useState(null);
+ const tools = [
+ {
+ id: 'Annotate',
+ label: 'Annotate',
+ icon: 'tool-annotate',
+ type: null,
+ commandName: 'setToolActive',
+ commandOptions: { toolName: 'Annotate' },
+ },
+ {
+ id: 'Bidirectional',
+ label: 'Bidirectional',
+ icon: 'tool-bidirectional',
+ type: null,
+ commandName: 'setToolActive',
+ commandOptions: { toolName: 'Bidirectional' },
+ },
+ {
+ id: 'Elipse',
+ label: 'Elipse',
+ icon: 'tool-elipse',
+ type: null,
+ commandName: 'setToolActive',
+ commandOptions: { toolName: 'Elipse' },
+ },
+ {
+ id: 'Length',
+ label: 'Length',
+ icon: 'tool-length',
+ type: null,
+ commandName: 'setToolActive',
+ commandOptions: { toolName: 'Length' },
+ },
+ ];
+ const renderToolbar = () => {
+ return tools.map((tool, i) => {
+ const isActive = activeTool === tool.id;
+ const shouldShowTooltip = showTooltip === tool.id;
+ return (
+
+
{
+ setActiveTool(tool.id);
+ }}
+ onMouseOver={() => setShowTooltip(tool.id)}
+ onMouseOut={() => setShowTooltip(null)}
+ >
+
+
+ {shouldShowTooltip && (
+
+ )}
+
+ );
+ });
+ };
+ return (
+
+ );
+ }}
+
diff --git a/platform/ui/src/views/Viewer/Viewer.js b/platform/ui/src/views/Viewer/Viewer.js
index 3071390f1..dc466fe1c 100644
--- a/platform/ui/src/views/Viewer/Viewer.js
+++ b/platform/ui/src/views/Viewer/Viewer.js
@@ -24,7 +24,7 @@ const Viewer = () => {
panel placeholder