---
name: CloseButton
menu: Components
route: /components/close-button
---

import { Playground, PropsTable } from 'docz'
import { Button, Icon, CloseButton } from '@personio/ui-components'
import './styles.scss'

# CloseButton

<PropsTable of={CloseButton} />

## Examples

<Playground>
  <div className="close-button-container">
    <CloseButton onClick={() => {
      alert('You pressed me')
    }} />
  </div>
</Playground>
