import { Meta } from '@storybook/addon-docs';
import Link from '@cloudscape-design/components/link';
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
# Migrating from NorthStar legacy - KeyValuePair
Use NorthStar v2 KeyValuePair component.
Alternatively, you can use NorthStar v2 KeyValuePairs component
to display a list of key value pairs in a column layout.
## Update Import
```diff
- import KeyValuePair from 'aws-northstar/components/KeyValuePair';
+ import KeyValuePair from '@aws-northstar/ui/components/KeyValuePair';
```
export const Component = () => {
return ;
};