Skip to content
Vy logo
Components

CloseButton

A Close Button is a button with a close icon and it used for closing bits and pieces.


Examples

A plain Close Button

<CloseButton onClick={close} />

Close Buttons in different sizes

<HStack gap={1}>
  <CloseButton size="xs" />
  <CloseButton size="sm" />
  <CloseButton size="md" />
  <CloseButton size="lg" />
</HStack>