
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@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" | "apply" | "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-hover-text-color | change flat type text color |
--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
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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.