Q3
  • Introduction
  • Related Projects
  • Roadmap
  • API
    • Core
      • Rest
      • Session
      • Schema plugins
    • Schemas
      • Rates
      • Rebates
      • Permissions
    • Utils
      • Subdocuments
      • Soft deleting
  • Client
    • gatsby-theme-q3
    • q3-components
      • Quantity
    • q3-ui-cart
      • Drawer
    • Admin
      • Builders
      • Containers
        • Contexts
    • Datatables
      • TableBadge
    • Forms
      • Field
      • Presets
        • <PasswordChange />
    • Repeater
    • UI
      • CallToAction
      • Avatar
      • CollapsiblePanel
      • SubMenu
Powered by GitBook
On this page
  • Example
  • API

Was this helpful?

  1. Client
  2. UI

CallToAction

Useful for driving users to a single destination in a webapp

PreviousUINextAvatar

Last updated 5 years ago

Was this helpful?

Example

import React from 'react';
import CallToAction from 'q3-ui/lib/callToAction';

export default () => (
    <CallToAction 
        title="Whoa!"
        description="Have you checked this out yet?"
        to="/"
        buttonText="Learn more"
        fluid={{
            src: 'https://images.com/fake.png',
        }}
    />
);

API

Storybook
Example of this component via GitPages.