Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@forter/button
Advanced tools
An element by Forter
<script>
import '@forter/button';
</script>
<fc-button>Button</fc-button>
<!-- iconOnly -->
<fc-button flat="true" icon="edit"></fc-button>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
active | active | boolean | false | If the button is active |
disabled | disabled | boolean | false | If the button is disabled |
flat | flat | boolean | false | flatness of the button |
icon | icon | string | The button's icon. example: admin , default: forter | |
iconSize | icon-size | string | number | 18 | The icon's icon-size |
intent | intent | "primary" | "secondary" | "success" | "apply" | "danger" | "warn" | The button's intent. See Intents in README. | |
label | label | string | The button's label, used when accessible content is not slotted in. | |
secondaryIcon | secondary-icon | string | "" | The button's secondary icon. example: edit |
Name | Description |
---|---|
like: <span> My Button </span> |
Property | Description |
---|---|
--fc-button-active-background-color | button background colour when active. |
--fc-button-active-border-color | button border colour when active. |
--fc-button-active-box-shadow | button box shadow when active. default: 0 0 5px 0 rgba(0, 0, 0, 0.05) |
--fc-button-active-color | button colour when active. |
--fc-button-active-icon-color | icon colour when active. |
--fc-button-background-color | button background colour. |
--fc-button-border-radius | button border radius. |
--fc-button-box-shadow | button box shadow. |
--fc-button-focus-border-color | button border colour when focused. |
--fc-button-height | button height. |
--fc-button-hover-background-color | button background colour when hovered. |
--fc-button-hover-box-shadow | button box-shadow colour when hovered. |
--fc-button-hover-color | button box-shadow colour when hovered. |
--fc-button-hover-icon-color | icon colour when hovered. |
--fc-button-icon-color | icon colour. example: coral |
--fc-button-inner-margin | button inner margin. |
--fc-button-min-width | button min-width. default: 35px; |
--fc-button-outer-margin | button outer margin. |
--fc-button-text-transform | button text transform. |
Accessible icon button with discreet default styles
<fc-icon-button></fc-icon-button>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
active | active | boolean | false | If the button is active |
disabled | disabled | boolean | false | If the button is disabled |
icon | icon | string | The button's icon | |
label | label | string | The button's label. Must be passed for accessibility. |
Property | Description |
---|---|
--fc-button-active-background-color | button background colour when active. |
--fc-button-active-border-color | button border colour when active. |
--fc-button-active-box-shadow | button box shadow when active. default: 0 0 5px 0 rgba(0, 0, 0, 0.05) |
--fc-button-active-color | button colour when active. |
--fc-button-active-icon-color | icon colour when active. |
--fc-button-background-color | button background colour. |
--fc-button-border-radius | button border radius. |
--fc-button-box-shadow | button box shadow. |
--fc-button-focus-border-color | button border colour when focused. |
--fc-button-height | button height. |
--fc-button-hover-background-color | button background colour when hovered. |
--fc-button-hover-box-shadow | button box-shadow colour when hovered. |
--fc-button-hover-color | button box-shadow colour when hovered. |
--fc-button-hover-icon-color | icon colour when hovered. |
--fc-button-icon-color | icon colour. |
--fc-button-inner-margin | button inner margin. |
--fc-button-min-width | button min-width. default: 35px; |
--fc-button-outer-margin | button outer margin. |
--fc-button-text-transform | button text transform. |
An element to record and translate it to text
<script>
import '@forter/button';
</script>
<fc-speech></fc-speech>
Property | Attribute | Type | Description |
---|---|---|---|
completeTranscript | completeTranscript | string | The completed transcript |
continuous | continuous | boolean | If recording should be continuous |
interimResults | interim-results | boolean | If results should be streamed as they are produced |
language | language | string | The language to use when recognizing |
recognizing | recognizing | any | Whether the component is recognizing speech |
transcript | transcript | any |
Event | Description |
---|---|
result | the outcome of voice recording |
FAQs
Button from Forter Components
The npm package @forter/button receives a total of 54 weekly downloads. As such, @forter/button popularity was classified as not popular.
We found that @forter/button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.