Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@gold.au/control-input
Advanced tools
Readme
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
yarn add @gold.au/control-input
npm install @gold.au/control-input
Usage:
import { AUcheckbox, AUradio } from './control-input.js';
<AUradio label="Yes" name="has_email" value="yes" id="yes" />
<AUradio label="No" name="has_email" value="no" id="no" />
<AUradio label="Maybe" name="has_email" value="maybe" id="maybe" />
<AUcheckbox label="Has email?" name="has_email" id="has-email" />
All props:
<AUradio
label="The label" {/* The label of the radio button */}
id="radio-ex" {/* The id of the radio button*/}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
<AUcheckbox
label="The label" {/* The label of the checkbox */}
id="checkbox-ex" {/* The id of the radio button*/}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
/control-input
└─ /core
The visual test: https://auds.service.gov.au/packages/control-input/tests/site/
margin-top
for control input block that is not followed by another control input block. Removed unused Fragment
React importchecked
attribute with defaultChecked
on control inputs examplesCopyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
The npm package @gold.au/control-input receives a total of 9 weekly downloads. As such, @gold.au/control-input popularity was classified as not popular.
We found that @gold.au/control-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.