Gathering detailed insights and metrics for @chakra-ui/c-form-control
Gathering detailed insights and metrics for @chakra-ui/c-form-control
Gathering detailed insights and metrics for @chakra-ui/c-form-control
Gathering detailed insights and metrics for @chakra-ui/c-form-control
⚡️ The next most epic version of Chakra UI Vue based on Vue 3 🚀(WIP)
npm install @chakra-ui/c-form-control
Typescript
Module System
Node Version
NPM Version
54.8
Supply Chain
56.8
Quality
74.7
Maintenance
100
Vulnerability
98.2
License
@chakra-ui/vue-next@2.1.0-beta.11
Updated on Mar 28, 2023
@chakra-ui/vue-next@2.1.0-beta.10
Updated on Mar 28, 2023
@chakra-ui/vue-next@2.1.0-beta.8
Updated on Mar 21, 2023
@chakra-ui/vue-next@2.1.0-beta.7
Updated on Mar 14, 2023
@chakra-ui/vue-next@2.1.0-beta.6
Updated on Mar 12, 2023
@chakra-ui/vue-next@2.1.0-beta.5
Updated on Mar 12, 2023
TypeScript (81.11%)
Vue (17.15%)
JavaScript (0.74%)
EJS (0.74%)
HTML (0.27%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
259 Stars
1,381 Commits
32 Forks
10 Watchers
80 Branches
16 Contributors
Updated on Jun 11, 2025
Latest Version
0.0.0-alpha.8
Package Id
@chakra-ui/c-form-control@0.0.0-alpha.8
Unpacked Size
63.46 kB
Size
8.67 kB
File Count
17
NPM Version
8.11.0
Node Version
16.16.0
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
5
1
1
Form control component is used to manage form controls such input fields checkbox and radio buttons it provides components and context that make your form fields accessible by default
1yarn add @chakra-ui/c-form-control 2# or 3npm i @chakra-ui/c-form-control
1import { 2 CFormControl, 3 CFormLabel, 4 CFormErrorMessage, 5 CFormHelperText, 6 CFormErrorIcon, 7} from "@chakra-ui/c-form-control"
The CFormControl
component automatically provides the id
for the input
component to be fully accessible.
1<template> 2 <c-form-control> 3 <!-- Will automatically get the "for" attribute --> 4 <c-form-label> First name </c-form-label> 5 <!-- Will automatically get the "id" and corresponding "aria-*" propertues --> 6 <c-input placeholder="Enter your first name..." /> 7 <!-- Will automatically get `id` and hides if `isInvalid` is passed to `CFormControl` --> 8 <c-form-helper-text> Keep it very short and sweet! </c-form-helper-text> 9 <!-- Will automatically gets `id` and shows if `isInvalid` is passed to `FormControl` --> 10 <c-form-error-message> 11 <c-form-error-icon /> 12 Your first name is invalid 13 </c-form-error-message> 14 </c-form-control> 15</template>
When the CInput
component receives focus, it notifies the CFormControl
and
adds data-focus
on the FormLabel
. Simply pass _focus
to the FormLabel
to style this state.
If isInvalid
is passed to the CFormControl
, it notifies the Input
and
adds data-invalid
to the FormLabel
so you can change the styles of the
label.
If isDisabled
is passed to the CFormControl
, it makes the Input
disabled,
and adds data-disabled
to the CFormLabel
so you can change the styles of
the label.
To change the required indicator beside the CFormLabel
, use the indicator
slot to swap out the rendered indicator.
1<template> 2 <c-form-control id="first-name" is-required> 3 <c-form-label> 4 First name 5 <template v-slot:indicator> 📍 </template> 6 </c-form-label> 7 <c-form-helper-text> Keep it very short and sweet! </c-form-helper-text> 8 </c-form-control> 9</template>
1<template> 2 <c-form-control id="first-name" is-required> 3 <c-form-label>First name</c-form-label> 4 <c-form-helper-text> Keep it very short and sweet! </c-form-helper-text> 5 </c-form-control> 6</template>
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/15 approved changesets -- score normalized to 4
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
56 existing vulnerabilities detected
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