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 - Checkbox
Use Cloudscape Checkbox component.
If the Checkbox is used in a Form setting, it is recommended to
use NorthStar v2 FormRenderer component
to build the form from JSON schema.
## Update Import
```diff
- import Checkbox from 'aws-northstar/components/Checkbox';
+ import Checkbox from '@cloudscape-design/components/checkbox'';
```
export const Component = () => {
return ;
};