react-saasify-chrisvxd

1.9.0 • Public • Published

Saasify Logo

react-saasify

React components for Saasify web clients.

NPM Build Status JavaScript Style Guide

Install

npm install --save react-saasify

Usage

react-saasify exposes lots of useful components that are used across Saasify web clients, but the most important one is the Section component.

Every web client is broken up into Sections that encapsulate a single message, action, or purpose. Example Sections include HeroSection, DocsSection, FeaturesSection, etc.

Here's an example implementation of the HeroSection on Saasify's homepage.

import {
  CTAButton,
  Section,
  theme
} from 'react-saasify'
 
import styles from './styles.module.css'
 
export class HeroSection extends Component {
  render() {
    return (
      <Section
        id='hero'
        title='Monetize Your OSS Projects'
        subtitle='The platform for monetizable serverless functions that empower the open source authors you love.'
        className={theme(styles, 'hero')}
      >
        <CTAButton>
          Get Started
        </CTAButton>
      </Section>
    )
  }
}

Components

import {
  AuthenticatedRoute,

  LoginForm,
  SignupForm,
  CheckoutForm,

  SaasifyContext,

  NavHeader,
  NavFooter,

  ProfileSection,
  DashboardSection,
  InvoicingSection,
  BillingSourcesSection,
  BillingUsageSection,
  NotFoundSection,
  BlankSection,

  Section,
  SectionDivider,

  CodeBlock,
  LiveServiceDemo,
  PricingPlan,
  CTAButton,

  Markdown,
  UndrawSVG,
  Logo,
  BackgroundSlideshow,
  ScrollToTopOnMount,
  Paper,
  Loading
} from 'react-saasify'

Themes

react-saasify provides support for dynamically changing the theme. Note that themes can only apply custom styles They aren't currently capable of modifying content aside from loading additional fonts.

See the list of themes in src/themes/ for examples.

Related

  • saasify - Saasify is the easiest way to monetize your OSS projects!

License

MIT © Saasify

Package Sidebar

Install

npm i react-saasify-chrisvxd

Weekly Downloads

17

Version

1.9.0

License

MIT

Unpacked Size

52.8 MB

Total Files

11668

Last publish

Collaborators

  • chrisvxd