Skip to content

Latest commit

 

History

History

ebay-cta-button

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

EbayCtaButton

Demo

Storybook

Usage

Import JS

import { EbayCtaButton } from '@ebay/ui-core-react/ebay-cta-button'

Import following styles from SKIN

import "@ebay/skin/cta-button"

Or import styles using SCSS/CSS

import '@ebay/skin/cta-button.css'

Big button

<EbayCtaButton size="large">I'm a big CTA button!</EbayCtaButton>

Attributes

Name Type Stateful Required Description Data
size String No No can be only large or just omit it for default appearance
href String No No URL
fluid Boolean No No takes the whole width of the parent element
truncate Boolean No No will truncate the text of the button onto a single line, and adds an ellipsis, when the button's text overflows