
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@gov.au/form
Advanced tools
The form component contains layout, labelling and inline validations for form fields
The form component contains layout, labelling and inline validations for form fields
yarn add @gov.au/form
npm install @gov.au/form
form
└─ core
The visual test: https://auds.service.gov.au/packages/form/tests/site/
margin-top
for all input
elements that are preceded by a label elementCopyright (c) Commonwealth of Australia. Licensed under MIT.
Usage:
import { AUlabel, AUhintText, AUerrorText, AUformGroup, AUfieldset, AUlegend } from '@gov.au/form';
<AUlabel text="Email" />
<AUhintText text="We will only use this email to respond to your query." />
<AUerrorText text="Enter an email address in the correct format, like name@example.com" />
<AUformGroup>
// labels, hint text, and form controls here
</AUformGroup>
<AUfieldset>
<AUlegend>
// labels/hint text here
</AUlegend>
// form controls here
</AUfieldset>
All props:
<AUlabel
text="Email" {/* The text of the label */}
dark={ true } {/* The dark variation of the component */}
inline={ true } {/* Label inline*/}
/>
<AUhintText
text="We will only use this email to respond to your query." {/* The hint text */}
dark = { true } {/* The dark variation of the component */}
alt={ false } {/* The alt variation of the component */}
/>
<AUerrorText
text="Enter an email in the valid format." {/* The error text */}
dark={ true } {/* The dark variation of the component */}
inline={ true } {/* Display the error text inline*/}
/>
<AUformGroup
status="invalid" {/* Adds invalid state to form group */}
dark = { true } {/* The dark variation of the component */}
/>
<AUfieldset
dark = { true } {/* The dark variation of the component */}
/>
FAQs
The form component contains layout, labelling and inline validations for form fields
We found that @gov.au/form demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.