import { Checkbox } from '@bedrock-ui/core';

Default

<Flex>
  <Checkbox checked={checked} onChange={() => setChecked(!checked)} />
  <Text>Lorem ipsum</Text>
</Flex>
Lorem ipsum

Error

<Flex>
  <Checkbox error checked={checked} onChange={() => setChecked(!checked)}/>
  <Text>Lorem ipsum</Text>
</Flex>
Lorem ipsum

Success

<Flex>
  <Checkbox success checked={checked} onChange={() => setChecked(!checked)} />
  <Text>Lorem ipsum</Text>
</Flex>
Lorem ipsum