Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@chakra-ui/close-button
Advanced tools
Readme
CloseButton is essentially a button with a close icon. It is used to handle the close functionality in feedback and overlay components like Alerts, Toasts, Drawers and Modals.
yarn add @chakra-ui/close-button
# or
npm i @chakra-ui/close-button
import { CloseButton } from "@chakra-ui/close-button"
<CloseButton />
Pass the isDisabled
prop to put the close button component in a disabled
state.
<CloseButton isDisabled />
Pass the size prop to adjust the size of the close button. Values can be sm, md or lg.
<>
<CloseButton size="sm" />
<CloseButton size="md" />
<CloseButton size="lg" />
</>
FAQs
A React and Chakra UI close button component.
The npm package @chakra-ui/close-button receives a total of 512,783 weekly downloads. As such, @chakra-ui/close-button popularity was classified as popular.
We found that @chakra-ui/close-button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.