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 - Box
Use Cloudscape Box component
## Limitations
Not all the props are available in the Cloudscape Box component.
For instance, the Box component does not include Flexbox support.
You can migrate the **Flexbox** to **div** with css to acchieve the same result.
## Update Import
```diff
- import Box from 'aws-northstar/layouts/Box';
+ import Box from '@cloudscape-design/components/box';
```
export const Component = () => {
return ;
};