
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
react-native-clippathview
Advanced tools
android: api 21+
ios : 10.0+
web: svg
Example --> Demo

$ npm install react-native-clippathview --save
$ react-native link react-native-clippathview
yarn add react-native-clippathview
Add Swift
(If you are using expo sdk >=42 you don't need to do this)
/ios/name_project
add a .swift file
ClipPathViewH (Android Layer type Hardware)
import {ClipPathView , ClipPathViewH } from 'react-native-clippathview'
// TODO: What to do with the module?
<ClipPathView style={{backgroundColor:'green'}}
d={myPath}
viewBox={myViewBox}
>
<View >
<Text style={{color:'white'}}>hello world</Text>
</View>
</ClipPathView>
| Name | description | type | default |
|---|---|---|---|
| svgKey | Each view must have a different key | String | "" |
| d | The shape, defined by a series of commands | String | "" |
| viewBox | defines the position and dimension, in user space | Array[Number] (4) | undefined |
| align | the aligment | String | xMidYMid |
| aspect | aspect ratio | String | meet |
| fillRule | determines what side of a path is inside a shape | String | nonzero |
| strokeWidth | defines the thickness of a line (mobile) | Number | 1 |
| strokeCap | line cap (mobile) | string | 'butt' |
| strokeJoin | line join (mobile) | string | 'miter' |
| strokeMiter | control the behavior of miter (mobile) | Number | 4 |
| strokeStart | the start (mobile) | Number | 0 |
| strokeEnd | the end (mobile) | Number | 1 |
The percentageValue property refers to the fact that the Origin will be multiplied by the size of the view.
| Name | type | default |
|---|---|---|
| translateZ | Number (zIndex) | 0 |
| transX | Number | 0 |
| transY | Number | 0 |
| transPercentageValue | Bool | false |
| rot | Number | 0 |
| rotOx | Number | 0 |
| rotOy | Number | 0 |
| rotPercentageValue | Bool | false |
| sc | Number | 1 |
| scX | Number | 1 |
| scY | Number | 1 |
| scO | Number | 0 |
| scOx | Number | 0 |
| scOy | Number | 0 |
| scPercentageValue | Bool | false |
FAQs
ClipPath Android Web IOS
We found that react-native-clippathview 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.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.