Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@forter/button
Advanced tools
An element by Forter
<script>
import '@forter/button';
</script>
<fc-button>Button</fc-button>
<!-- flat icon -->
<fc-button flat="true" icon="edit"></fc-button>
* <!-- no text -->
<fc-button icon="edit"></fc-button>
<!-- intent loading -->
<fc-button loading intent="success">Submit</fc-button>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
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 | |
intent | intent | "primary" | "secondary" | "success" | "danger" | "warn" | "cancel" | The button's intent. See Intents in README | |
invalid | invalid | boolean | false | Specify to display the x sign |
loading | loading | boolean | false | If the button is loading |
valid | valid | boolean | false | Specify to display the checkmark sign |
width | width | "small" | "medium" | "large" | The button's preset sizes |
Event | Description |
---|---|
click | fires once value changed. example: { "target": { "checked": true } } |
Name | Description |
---|---|
textContent for the checkbox label. example: <span> My Button </span> |
Property | Description |
---|---|
--fc-button-background-color | button background colour. |
--fc-button-border-radius | button border radius. |
--fc-button-box-shadow | button box shadow. example: none |
--fc-button-color | button colour. |
--fc-button-font | button font. example: var(--fc-font-20px-600) |
--fc-button-inner-margin | button inner margin. example: 10px |
--fc-button-justify-content | justify content. example: left |
--fc-button-min-height | button height. example: 200px |
--fc-button-min-width | button min-width. example: 200px |
--fc-button-text-transform | button text transform. example: uppercase |
FAQs
Button from Forter Components
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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.