Chakra UI is a component system for building products with speed ⚡️
Installations
npm install @chakra-ui/close-button
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
18.17.1
NPM Version
9.6.7
Score
89.7
Supply Chain
73.3
Quality
77.6
Maintenance
100
Vulnerability
99.3
License
Releases
@chakra-ui/react@3.5.1
Published on 24 Jan 2025
@chakra-ui/panda-preset@3.5.1
Published on 24 Jan 2025
@chakra-ui/cli@3.5.1
Published on 24 Jan 2025
@chakra-ui/react@3.5.0
Published on 24 Jan 2025
@chakra-ui/panda-preset@3.5.0
Published on 24 Jan 2025
@chakra-ui/cli@3.5.0
Published on 24 Jan 2025
Contributors
Languages
TypeScript (82.79%)
MDX (16.4%)
JavaScript (0.66%)
CSS (0.08%)
HTML (0.07%)
Developer
Download Statistics
Total Downloads
73,742,687
Last Day
80,235
Last Week
349,902
Last Month
1,588,367
Last Year
26,263,369
GitHub Statistics
38,408 Stars
10,418 Commits
3,345 Forks
202 Watching
11 Branches
675 Contributors
Bundle Size
3.71 kB
Minified
1.63 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.1.1
Package Id
@chakra-ui/close-button@2.1.1
Unpacked Size
20.59 kB
Size
4.46 kB
File Count
17
NPM Version
9.6.7
Node Version
18.17.1
Publised On
08 Sept 2023
Total Downloads
Cumulative downloads
Total Downloads
73,742,687
Last day
-2.8%
80,235
Compared to previous day
Last week
-15.3%
349,902
Compared to previous week
Last month
-3.4%
1,588,367
Compared to previous month
Last year
11.3%
26,263,369
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Peer Dependencies
2
Dev Dependencies
3
Close Button
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.
Installation
1yarn add @chakra-ui/close-button 2 3# or 4 5npm i @chakra-ui/close-button
Import component
1import { CloseButton } from "@chakra-ui/close-button"
Usage
1<CloseButton />
Disabled
Pass the isDisabled
prop to put the close button component in a disabled
state.
1<CloseButton isDisabled />
Sizes
Pass the size prop to adjust the size of the close button. Values can be sm, md or lg.
1<> 2 <CloseButton size="sm" /> 3 <CloseButton size="md" /> 4 <CloseButton size="lg" /> 5</>
No vulnerabilities found.
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
no binaries found in the repo
Reason
5 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975
Reason
Found 7/21 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: topLevel 'actions' permission set to 'write': .github/workflows/issue-stale.yml:10
- Warn: no topLevel permission defined: .github/workflows/pkg-pr.yml:1
- Warn: no topLevel permission defined: .github/workflows/quality.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-stale.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/issue-stale.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pkg-pr.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/pkg-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pkg-pr.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/pkg-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/quality.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/quality.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/quality.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/quality.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/quality.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/quality.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/quality.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/quality.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/quality.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/quality.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/chakra-ui/chakra-ui/release.yml/main?enable=pin
- Info: 0 out of 10 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 16 are checked with a SAST tool
Score
4.6
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to @chakra-ui/close-button
@chakra-ui/c-close-button
Chakra UI Vue | An accessible close button component for chakra ui vue component
@hackr/chakra-ui-close-button
A React and Chakra UI close button component.
@hakuna-matata-ui/close-button
A React and Chakra UI close button component.
@teste-ui/close-button
A React and Chakra UI close button component.