Gathering detailed insights and metrics for @chakra-ui/input
Gathering detailed insights and metrics for @chakra-ui/input
Gathering detailed insights and metrics for @chakra-ui/input
Gathering detailed insights and metrics for @chakra-ui/input
@chakra-ui/number-input
An accessible numeric input alternative to <input type='number' />
@chakra-ui/pin-input
A React component optimized for entering sequences of digits
@chakra-ui/control-box
Chakra UI ControlBox component
@chakra-ui/radio
A React component to render custom Radio input types
Chakra UI is a component system for building SaaS products with speed ⚡️
npm install @chakra-ui/input
Typescript
Module System
Node Version
NPM Version
@chakra-ui/cli@3.22.0
Updated on Jul 07, 2025
@chakra-ui/panda-preset@3.22.0
Updated on Jul 07, 2025
@chakra-ui/react@3.22.0
Updated on Jul 07, 2025
@chakra-ui/charts@3.22.0
Updated on Jul 07, 2025
@chakra-ui/panda-preset@3.21.1
Updated on Jun 28, 2025
@chakra-ui/charts@3.21.1
Updated on Jun 28, 2025
TypeScript (82.2%)
MDX (16.96%)
JavaScript (0.71%)
CSS (0.07%)
HTML (0.06%)
Dockerfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
39,354 Stars
10,958 Commits
3,443 Forks
201 Watchers
10 Branches
695 Contributors
Updated on Jul 13, 2025
Latest Version
2.1.2
Package Id
@chakra-ui/input@2.1.2
Unpacked Size
101.26 kB
Size
12.74 kB
File Count
41
NPM Version
9.8.1
Node Version
18.18.2
Published on
Nov 09, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Input component is a component that is used to get user input in a text field.
1yarn add @chakra-ui/input 2 3# or 4 5npm i @chakra-ui/input
1import { 2 Input, 3 InputGroup, 4 InputAddon, 5 InputLeftAddon, 6 InputRightAddon, 7 InputElement, 8 InputLeftElement, 9 InputRightElement, 10} from "@chakra-ui/input"
1<Input placeholder="A simple input component" />
Pass the isDisabled
prop to have the input in the disabled state.
1<Input isDisabled placeholder="A disabled input" />
Pass the isInvalid
prop to have the input in the invalid state.
1<Input isInvalid placeholder="An invalid input" />
Pass the isReadOnly
prop to have the input in the read-only state.
1<Input isReadOnly placeholder="An invalid input" />
Pass the size
prop to change the size of the input. Chakra UI input size
values are: sm
, md
and lg
. The size of the input component is md
by
default.
1<> 2 <Input size="sm" marginBottom="1rem" placeholder="A simple placeholder" /> 3 4 <Input size="md" marginBottom="1rem" placeholder="A simple placeholder" /> 5 6 <Input size="lg" placeholder="A simple placeholder" /> 7</>
Pass the variant
prop to change the visual appearance of the input component.
Chakra UI input variant types are: outline
, filled
, flushed
and
unstyled
.
1<> 2 <Input variant="outline" placeholder="Outline" marginBottom="1rem" /> 3 <Input variant="filled" placeholder="Filled" marginBottom="1rem" /> 4 <Input variant="flushed" placeholder="Flushed" marginBottom="1rem" /> 5 <Input variant="unstyled" placeholder="Unstyled" /> 6</>
Prepend or append an element, generally a label or a button to the input component.
1<> 2 <InputGroup> 3 <InputLeftAddon children="+234" /> 4 <Input borderLeftRadius="0" placeholder="Phone number..." /> 5 </InputGroup> 6 7 <br /> 8 9 <InputGroup size="sm"> 10 <InputLeftAddon children="https://" /> 11 <Input borderRadius="0" placeholder="website.com" /> 12 <InputRightAddon children=".com" /> 13 </InputGroup> 14</>
1<InputGroup> 2 <InputLeftElement children={"P"} /> 3 <Input type="tel" placeholder="Phone number" /> 4</InputGroup>
No vulnerabilities found.
Reason
30 commit(s) and 15 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/25 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
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
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
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