Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

CloseButton

CloseButton is a component used primarily to trigger the close functionality of a component.

Source@yamada-ui/close-button

Import

import { CloseButton } from "@yamada-ui/react"
Copied!

Usage

Editable example

<Wrap gap="md">
  <For each={["sm", "md", "lg"]}>
    {(item, index) => <CloseButton size={item} key={index} />}
  </For>
</Wrap>
Copied!

Edit this page on GitHub

PreviousMotionNextFor