Components
Checkbox
Code

Checkbox

Checkbox(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Checkbox controls allow users to make multiple independent choices in a form where there are at most five options and each option is binary.

Parameters

NameType
propsAriaCheckboxProps & RefAttributes<HTMLDivElement (opens in a new tab)>

Example

example.tsx
<Checkbox>Label</Checkbox>
import React from 'react'
import { Checkbox } from '@vtex/shoreline-components'

export default function App () {
return (
<>

      <Checkbox>Label</Checkbox>

    </>

)
}