Checkboxcomponent
component
A component for boolean selections with checked and disabled states. You can view the Storybook for more interactive examples.
Was this section helpful?
Checkbox
import {Checkbox} from '@shopify/shop-minis-react'
export default function MyComponent() {
return <Checkbox checked />
}
examples
Checkbox
import {Checkbox} from '@shopify/shop-minis-react' export default function MyComponent() { return <Checkbox checked /> }
Preview

Anchor to examplesExamples
Checkbox states and configurations
Anchor to example-checked-stateChecked state
A checked checkbox
Anchor to example-disabled-stateDisabled state
A disabled checkbox
Was this section helpful?
Checked state
import {Checkbox} from '@shopify/shop-minis-react'
export default function MyComponent() {
return <Checkbox checked />
}
examples
Checked state
description
A checked checkbox
import {Checkbox} from '@shopify/shop-minis-react' export default function MyComponent() { return <Checkbox checked /> }
Disabled state
description
A disabled checkbox
import {Checkbox} from '@shopify/shop-minis-react' export default function MyComponent() { return <Checkbox disabled /> }