Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forter/radio-button

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/radio-button

Radio Button and Group from Forter Components

  • 3.0.21
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-31.43%
Maintainers
3
Weekly downloads
 
Created
Source

fc-radio-button

⚠️⚠️ This component is deprecated and might be unstable. please use fc-radio. ⚠️⚠️

Properties

PropertyAttributeTypeDefaultDescription
checkedcheckedbooleanfalseIf the element is disabled
disableddisabledbooleanfalseWhether the element is disabled
inputIdstring
labellabelstring""The element's label
labelIdstring
namenamestring""The input's name
valuevaluestring""The input's value

Events

Event
item-selected

Slots

NameDescription
inputinternally used to render light children. Do not use.
labelinternally used to render light children. Do not use.

CSS Custom Properties

PropertyDescription
--fc-radio-border-colordefault: var(--gray-8)
--fc-radio-checked-colordefault: var(--ftr-cyan)
--fc-radio-disabled-border-colordefault: rgba(0, 0, 0, 0.25)
--fc-radio-disabled-text-colordefault: var(--gray-3)
--fc-radio-hover-colordefault: var(--gray-0)
--fc-radio-text-colordefault: black

fc-radio-button-group

##Usage

Default

<fc-radio-group>
     <fc-radio-button label="Pizza" value="pizza"></fc-radio-button>
     <fc-radio-button label="Hamburger" value="hamburger"></fc-radio-button>
</fc-radio-group>

Preselected

<fc-radio-group>
     <fc-radio-button checked label="Pizza" value="pizza"></fc-radio-button>
     <fc-radio-button label="Hamburger" value="hamburger"></fc-radio-button>
</fc-radio-group>

Disabled

<fc-radio-group>
     <fc-radio-button disabled label="Pizza" value="pizza"></fc-radio-button>
     <fc-radio-button label="Hamburger" value="hamburger"></fc-radio-button>
</fc-radio-group>

Disable All

<fc-radio-group disabled>
     <fc-radio-button label="Pizza" value="pizza"></fc-radio-button>
     <fc-radio-button label="Hamburger" value="hamburger"></fc-radio-button>
</fc-radio-group>

Properties

PropertyAttributeTypeDefaultDescription
attributeForSelectedstring"checked"
legendlegendstring""The legend for the fieldset

Slots

NameDescription
internally used for light input. Do not use.

CSS Custom Properties

PropertyDescription
--fc-radio-group-legend-colordefault: var(--ftr-red)

Keywords

FAQs

Package last updated on 26 Aug 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc