---
title: crwdns62870:0crwdne62870:0
image: crwdns62872:0crwdne62872:0
---

<Frame>
  <img src="/images/user-guide/table-views/table.png" alt="Header" />
</Frame>

<Tabs>
<Tab title="Usage">

```jsx
import { Toggle } from "twenty-ui/input";

export const MyComponent = () => {
  return (
    <Toggle
    value = {true}
    onChange = {()=>console.log('On Change event')}
    color="green"
    toggleSize = "medium"
    />
  );
};
```

</Tab>
<Tab title="Props">

| crwdns62874:0crwdne62874:0 | crwdns62876:0crwdne62876:0 | crwdns62878:0crwdne62878:0                                                            | crwdns62880:0crwdne62880:0 |
| ---------------------------------------------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| crwdns62882:0crwdne62882:0 | crwdns62884:0crwdne62884:0 | crwdns62886:0crwdne62886:0                                                            | crwdns62888:0crwdne62888:0 |
| crwdns62890:0crwdne62890:0 | crwdns62892:0crwdne62892:0 | crwdns62894:0crwdne62894:0                                                            |                                                            |
| crwdns62896:0crwdne62896:0 | crwdns62898:0crwdne62898:0 | crwdns62900:0crwdne62900:0                                                            | crwdns62902:0crwdne62902:0 |
| crwdns62904:0crwdne62904:0 | crwdns62906:0crwdne62906:0 | crwdns62908:0crwdne62908:0 crwdns62910:0crwdne62910:0 | crwdns62912:0crwdne62912:0 |

</Tab>
</Tabs>
