> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Checkbox

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/5/app-studio/reference/gallery/checkbox

[mintlify link]: https://doc.lucidworks.com/docs/5/app-studio/reference/gallery/checkbox

[old doc.lw link]: https://doc.lucidworks.com/app-studio/4.2/1039

<LwTemplate />

## Default

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox01.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=e35b9d154973b19629baea2f6be98e94" alt="Example" width="863" height="148" data-path="assets/images/app-studio/as-examples/gallery/checkbox01.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch1" type="checkbox">
<label for="switch1"></label>
```

## Square

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox02.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=b05ada7206553e6e26eaabae2cda772c" alt="Example" width="863" height="148" data-path="assets/images/app-studio/as-examples/gallery/checkbox02.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch2" type="checkbox">
<label styling="square" for="switch2"></label>
```

## Flat

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox03.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=a4912b1eddcdc254a31aec17d4710366" alt="Example" width="863" height="148" data-path="assets/images/app-studio/as-examples/gallery/checkbox03.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch3" type="checkbox">
<label styling="flat" for="switch3"></label>
```

## Thin

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox04.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=c6574717ff455e0a48a864acf74fbac5" alt="Example" width="863" height="148" data-path="assets/images/app-studio/as-examples/gallery/checkbox04.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch4" type="checkbox">
<label styling="thin" for="switch4"></label>
```

## Colors

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox05.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=0490406783fcf2ec451c5bf62b3b1172" alt="Example" width="863" height="148" data-path="assets/images/app-studio/as-examples/gallery/checkbox05.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch5" type="checkbox">
<label styling="positive" for="switch5"></label>
<input styling="checkbox-switch" id="switch6" type="checkbox">
<label styling="negative" for="switch6"></label>
<input styling="checkbox-switch" id="switch8" type="checkbox">
<label styling="warning" for="switch8"></label>
<input styling="checkbox-switch" id="switch10" type="checkbox">
<label styling="info" for="switch10"></label>
```

## Size

<img src="https://mintcdn.com/lucidworks/svjqq6CDiXcpPrjs/assets/images/app-studio/as-examples/gallery/checkbox06.png?fit=max&auto=format&n=svjqq6CDiXcpPrjs&q=85&s=148fb8f838e612760ce6d88f11ed3736" alt="Example" width="863" height="175" data-path="assets/images/app-studio/as-examples/gallery/checkbox06.png" />

```html wrap  theme={"dark"}
<input styling="checkbox-switch" id="switch13" type="checkbox">
<label styling="tiny" for="switch13"></label>
<input styling="checkbox-switch" id="switch14" type="checkbox">
<label styling="massive" for="switch14"></label>
```
