@hig/profile-flyout
v4.0.0
Published
HIG Profile Flyout
Downloads
237
Readme
Profile Flyout
The profile flyout is a component to use with the top navigation. When clicking the avatar, this flyout opens, containing the customer's name, email, and links to their account info.
Getting started
Install the package
yarn add @hig/profile-flyout @weave-design/theme-context @weave-design/theme-data
Import the component
import ProfileFlyout from '@hig/profile-flyout';
Basic usage
<ProfileFlyout
image="https://placekitten.com/g/50/50"
name="David Gonzalez"
email="[email protected]"
/>