|
| 1 | +--- |
| 2 | +id: Motion |
| 3 | +section: design-foundations |
| 4 | +source: demo |
| 5 | +--- |
| 6 | + |
| 7 | +import { Fragment, useRef, useState, useEffect } from 'react'; |
| 8 | + |
| 9 | +import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon'; |
| 10 | +import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon'; |
| 11 | +import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon'; |
| 12 | +import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon'; |
| 13 | +import PowerOffIcon from '@patternfly/react-icons/dist/esm/icons/power-off-icon'; |
| 14 | +import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon'; |
| 15 | +import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon'; |
| 16 | +import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg'; |
| 17 | +import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon'; |
| 18 | +import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg'; |
| 19 | +import MultiContentCard from "@patternfly/react-component-groups/dist/dynamic/MultiContentCard"; |
| 20 | +import { ArrowRightIcon, LockIcon, PortIcon, CubeIcon, AutomationIcon, ExclamationCircleIcon, CheckCircleIcon, ExclamationTriangleIcon, HamburgerIcon} from '@patternfly/react-icons'; |
| 21 | +import { createUseStyles } from 'react-jss'; |
| 22 | +import clsx from 'clsx'; |
| 23 | +import UnpluggedIcon from '@patternfly/react-icons/dist/esm/icons/unplugged-icon'; |
| 24 | +import l_gallery_GridTemplateColumns_min from '@patternfly/react-tokens/dist/esm/l_gallery_GridTemplateColumns_min'; |
| 25 | +import {applicationsData} from './examples/ResourceTableData.jsx'; |
| 26 | +import SkeletonTable from "@patternfly/react-component-groups/dist/dynamic/SkeletonTable"; |
| 27 | +import t_global_text_color_subtle from '@patternfly/react-tokens/dist/esm/t_global_text_color_subtle'; |
| 28 | + |
| 29 | + |
| 30 | +## Demos |
| 31 | + |
| 32 | +This demonstration highlights PatternFly's latest animations. Explore how components like alerts, navigation, and forms use motion to provide clear feedback and improve usability across the platform. |
| 33 | + |
| 34 | +### Animations |
| 35 | + |
| 36 | +```js file="./examples/Animations.tsx" isFullscreen |
| 37 | +``` |
0 commit comments