Debian Codegraph @

node/@patternfly/react-core/src/demos/CustomMenus/ApplicationLauncher.md

raw
1 ---
2 id: Application launcher
3 section: components
4 subsection: menus
5 source: react-demos
6 propComponents:
7 [
8 'MenuToggle',
9 'MenuSearch',
10 'MenuSearchInput',
11 'Tooltip',
12 'Divider',
13 'SearchInput',
14 'Dropdown',
15 'DropdownGroup',
16 'DropdownList',
17 'DropdownItem'
18 ]
19 ---
20
21 import { cloneElement, Fragment, useRef, useState } from 'react';
22
23 import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
24 import brandImg from '../assets/PF-IconLogo.svg';
25
26 As the application launcher component is now deprecated, an application launcher may now be built using the new suite of menu components. This is showcased in the following demo, which uses the new [dropdown](/components/menus/dropdown) component that is built off of menu.
27
28 ### Application launcher menu
29
30 ```ts file="./examples/ApplicationLauncherDemo.tsx"
31
32 ```