Installations
npm install @nextpy/clickable
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
20.7.0
NPM Version
10.1.0
Score
72.9
Supply Chain
79.9
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
@chakra-ui/react@3.8.0
Updated on Feb 09, 2025
@chakra-ui/panda-preset@3.8.0
Updated on Feb 09, 2025
@chakra-ui/cli@3.8.0
Updated on Feb 09, 2025
@chakra-ui/panda-preset@3.7.0
Updated on Feb 04, 2025
@chakra-ui/react@3.7.0
Updated on Feb 04, 2025
@chakra-ui/cli@3.7.0
Updated on Feb 04, 2025
Contributors
Languages
TypeScript (82.71%)
MDX (16.48%)
JavaScript (0.65%)
CSS (0.08%)
HTML (0.07%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
144
Last Day
1
Last Week
2
Last Month
13
Last Year
50
GitHub Statistics
MIT License
38,501 Stars
10,471 Commits
3,354 Forks
202 Watchers
12 Branches
682 Contributors
Updated on Feb 14, 2025
Package Meta Information
Latest Version
2.1.0
Package Id
@nextpy/clickable@2.1.0
Unpacked Size
138.21 kB
Size
12.75 kB
File Count
25
NPM Version
10.1.0
Node Version
20.7.0
Published on
Nov 09, 2023
Total Downloads
Cumulative downloads
Total Downloads
144
Last Day
0%
1
Compared to previous day
Last Week
-60%
2
Compared to previous week
Last Month
333.3%
13
Compared to previous month
Last Year
-46.8%
50
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
Dev Dependencies
3
@chakra-ui/clickable
React hook that implements all the interactions of a native button
component
with support for making it focusable even if it is disabled.
It can be used with both native button elements or other elements (like div
).
Installation
1import { useClickable } from "@chakra-ui/clickable"
Usage
1// create a clickable primitive 2const Clickable = (props) => { 3 const clickable = useClickable(props) 4 return <chakra.button display="inline-flex" {...clickable} /> 5} 6 7// use the clickable primitive 8const Example = () => ( 9 <Clickable 10 as="div" 11 onClick={(event) => { 12 alert("clicked") 13 }} 14 _active={{ bg: "blue", color: "white" }} 15 _disabled={{ opacity: 0.4, pointerEvents: "none" }} 16 > 17 Clickable 18 </Clickable> 19)

No vulnerabilities found.
Reason
30 commit(s) and 11 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
7 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-67mh-4wv8-2f99
- 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
- Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq
Reason
Found 5/26 approved changesets -- score normalized to 1
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/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/quality.yml:30: 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:43: 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:56: 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:69: 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:17: 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 8 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 9 are checked with a SAST tool
Score
4.2
/10
Last Scanned on 2025-02-10
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 More