Gravity
Search
K

Social

Social Sharing

Social sharing is a great way to promote awareness of your app and acquire new customers. Use the in-built <SocialShare> component to make it easy for users to share your product.

Preview

Code

<SocialShare
url='https://usegravity.app'
description='Awesome SaaS boilerplate for Node.js'
/>

Props

Prop
Description
Text
value
className
custom styles
optional
SCSS or Tailwind style
description
text description
required
string
url
url to share
required
string

Social Sign-On

Gravity supports social sign-on with over 500+ networks.
The <SocialSignin/> component is used on the auth pages to show the sign-in button and can be modified or extended to add support for more networks of your choosing.

Preview

Code

<SocialSignin network={['facebook', 'twitter']} showOr />

Props

Prop
Description
Required
Value
network
social network names to show
required
array
showOr
show an or separator under the buttons
optional
boolean
Last modified 5mo ago