All Projects → everdrone → react-native-super-ellipse-mask

everdrone / react-native-super-ellipse-mask

Licence: MIT License
Apple flavored smooth corners for React Native

Programming Languages

objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to react-native-super-ellipse-mask

smooth-corners
CSS superellipse masks using the Houdini API
Stars: ✭ 133 (+141.82%)
Mutual labels:  superellipse, squircle, smooth-corners
Shapeofview
Give a custom shape to any android view, Material Design 2 ready
Stars: ✭ 2,977 (+5312.73%)
Mutual labels:  view, mask
FillProgressLayout
A simple and flexible Fillable Progress Layout written in Kotlin
Stars: ✭ 77 (+40%)
Mutual labels:  view, rounded-corners
Instagramactivityindicator
Activity Indicator similar to Instagram's.
Stars: ✭ 138 (+150.91%)
Mutual labels:  apple, view
LPThumbnailView
A thumbnail view for iOS to give context to multiple images/videos using thumbnails and counter.
Stars: ✭ 54 (-1.82%)
Mutual labels:  apple, view
SwiftUI-Tooltip
Easy Tooltip for your SwiftUI Project
Stars: ✭ 130 (+136.36%)
Mutual labels:  apple
SwiftUIViewRecorder
Efficiently record any SwiftUI View as image or video
Stars: ✭ 20 (-63.64%)
Mutual labels:  view
android-prefix-suffix-edit-text
EditText with support for non editable prefix and suffix.
Stars: ✭ 36 (-34.55%)
Mutual labels:  view
AppleNeuralHash2ONNX
Convert Apple NeuralHash model for CSAM Detection to ONNX.
Stars: ✭ 1,457 (+2549.09%)
Mutual labels:  apple
LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (-47.27%)
Mutual labels:  apple
react-native-figma-squircle
Figma-flavored squircles for React Native
Stars: ✭ 207 (+276.36%)
Mutual labels:  squircle
apple-news
A Node.js client for interacting with the Apple News API 📰
Stars: ✭ 34 (-38.18%)
Mutual labels:  apple
Flocking
An example showing how to use SwiftUI, Satin, Forge and Youi to simulate birds flocking via a compute particle system (n-body).
Stars: ✭ 63 (+14.55%)
Mutual labels:  apple
Ubuntu-Launchpad
The Ubuntu version of Apple's/MacOS Launchpad application
Stars: ✭ 21 (-61.82%)
Mutual labels:  apple
Cryptography-and-Privacy
[Accepted] The WWDC19 Scholarship Application Project
Stars: ✭ 30 (-45.45%)
Mutual labels:  apple
reactjs-apple-musickit
Sample ReactJS Apple MusicKit Integration
Stars: ✭ 19 (-65.45%)
Mutual labels:  apple
android-constraintlayout-demo
Demo usage of various ConstraintLayout features
Stars: ✭ 49 (-10.91%)
Mutual labels:  view
smcutil
SMC utility for modifying and examining Apple's SMC payloads.
Stars: ✭ 30 (-45.45%)
Mutual labels:  apple
macos
macOS load bootup and optimization
Stars: ✭ 29 (-47.27%)
Mutual labels:  apple
react-apple-signin-auth
 Apple signin for React using the official Apple JS SDK
Stars: ✭ 58 (+5.45%)
Mutual labels:  apple

SuperEllipse

Apple flavored smooth corners for React Native (iOS only).

Screenshots

Individual Corners

Install

yarn add react-native-super-ellipse-mask

Link

Automatic

react-native link react-native-super-ellipse-mask

Manual

iOS
  1. In XCode, in the project navigator, right click Libraries > Add Files to [your project's name]
  2. Go to node_modules > react-native-super-ellipse-mask and add RNSuperEllipseMask.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSuperEllipseMask.a to your project's Build Phases > Link Binary With Libraries
  4. Run your project (Cmd+R)

Usage

<SuperEllipseMask radius={30}>
  <View
    style={{
      width: 200,
      height: 300,
      backgroundColor: 'black',
    }}
  />
</SuperEllipseMask>

Props

  • radius object | number: Sets the corner radius.
    • number: uniform corner radius.
    • object: {topLeft, topRight, bottomRight, bottomLeft}

Contribute

Found a bug? File an issue
Already know how to fix it? Open a Pull Request

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].