Gathering detailed insights and metrics for @nextpy/button
Gathering detailed insights and metrics for @nextpy/button
Gathering detailed insights and metrics for @nextpy/button
Gathering detailed insights and metrics for @nextpy/button
npm install @nextpy/button
Typescript
Module System
Node Version
NPM Version
33.9
Supply Chain
71
Quality
74.2
Maintenance
100
Vulnerability
99.3
License
@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
TypeScript (82.72%)
MDX (16.47%)
JavaScript (0.65%)
CSS (0.08%)
HTML (0.07%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
143
Last Day
1
Last Week
2
Last Month
13
Last Year
52
MIT License
38,517 Stars
10,472 Commits
3,358 Forks
202 Watchers
18 Branches
682 Contributors
Updated on Feb 17, 2025
Latest Version
2.1.0
Package Id
@nextpy/button@2.1.0
Unpacked Size
4.81 kB
Size
2.12 kB
File Count
3
NPM Version
10.1.0
Node Version
20.7.0
Published on
Nov 09, 2023
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-60%
2
Compared to previous week
Last Month
116.7%
13
Compared to previous month
Last Year
-42.9%
52
Compared to previous year
4
2
Buttons are used as triggers for actions. They are used in forms, toolbars, dialog footers and as stand-alone action triggers.
1yarn add @chakra-ui/button 2 3# or 4 5npm i @chakra-ui/button
1import { Button } from "@chakra-ui/button"
1<Button colorScheme="green">Button</Button>
Use the size
prop to change the size of the button. You can set the value to
xs
, sm
, md
, or lg
.
1<Stack>
2 <Button size="xs">Button</Button>
3 <Button size="sm">Button</Button>
4 <Button size="md">Button</Button>
5 <Button size="lg">Button</Button>
6</Stack>
Use the variant
prop to change the visual style of the Button. You can set the
value to solid
, ghost
, outline
, or link
.
1<ButtonGroup> 2 <Button variant="solid">Button</Button> 3 <Button variant="outline">Button</Button> 4 <Button variant="ghost">Button</Button> 5 <Button variant="link">Button</Button> 6</ButtonGroup>
You can add left and right icons to the Button components.
1<ButtonGroup> 2 <Button leftIcon={<EmailIcon />} variant="solid"> 3 Email 4 </Button> 5 <Button rightIcon={<ArrowForwardIcon />} variant="outline"> 6 Call us 7 </Button> 8</ButtonGroup>
Pass isLoading
prop to the Button component to show its loading state. You can
optionally pass loadingText
prop.
You can also use a custom spinner to render your own spinner component.
1<Stack> 2 <Button isLoading colorScheme="teal" variant="solid"> 3 Email 4 </Button> 5 6 <Button 7 isLoading 8 colorScheme="teal" 9 variant="outline" 10 spinner={<BarSpinner />} 11 > 12 Submit 13 </Button> 14</Stack>
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
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
Found 5/26 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
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