Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
framerxcomponents
Advanced tools
This repository is an example of a few components based on the framer-bridge-starter-kit component library, but built entirely in StencilJS Web Components.
These components can be used within any Web Framework, but were designed to illustrate the workflow between maintaining a Web Component based Design System in Framer X.
This package contains 4 main components:
<my-button />
Property | Type | Description | Default |
---|---|---|---|
text | string | Button text | Download App |
fluid | boolean | Width of button | true |
disabled | boolean | Button disabled state | false |
kind | enum | Button Kind | default |
<my-input />
Property | Type | Description | Default |
---|---|---|---|
value | string | Input value | |
placeholder | string | Input placeholder | Email |
disabled | boolean | Input disabled state | false |
error | boolean | Input error state | false |
<my-toggle />
Property | Type | Description | Default |
---|---|---|---|
disabled | boolean | Toggle disabled state | false |
on | boolean | Toggle on state | false |
<my-tooltip />
Property | Type | Description | Default |
---|---|---|---|
arrow | enum | Arrow direction | left |
text | string | Tooltip text | Component |
error | boolean | Tooltip error state | false |
Follow the steps below to use them in your project.
<script src='https://unpkg.com/framerxcomponents/dist/framerxcomponents.js'></script>
in the head of your index.html. You can use a different version by specifiying the verion following this doc.Check out this starter kit to learn more about how these components are maintained in Framer X, and see a working example of these living in a Framer X project.
Framer X uses React under the hood, but that doesn't mean you can't use you custom Web Components. The easiest way to include your components in Framer X is to add the script tag thorugh a custom React Hook. If you're new to React, a good place to start is here.
code
folder of your Framer X Project."https://unpkg.com/framerxcomponents/dist/framerxcomponents.js"
.npm install framerxcomponents --save
import my-button from "framerxcomponents"
at the top.FAQs
Stencil Component Starter
We found that framerxcomponents demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.