@hashicorp/react-hero
v9.0.0
Published
basic full page hero with a lot of customization options
Downloads
12,234
Maintainers
Keywords
Readme
Hero
Basic full page hero with a lot of customization options.
Params
centered
(bool): [optional] centers all content if truedata
(obj): data passed in from datocmstheme
(str): defaults to dark theme;light
changes to light themebackgroundImage
(obj): [optional] url prop contains link to imagetitleLogo
(obj): [optional] url prop contains link to image. sits above headline.title
(str): main titledescription
(str): smaller text under the subtitle, HTML is supportedbuttons
(arr): [optional] array of link objectstitle
(str): primary button texturl
(str): where the button links to
helpText
(str): [optional] HTML supported, usually used for a small link at bottomvideos
(arr): [optional] array of videos to be played in a carouselname
(str): name to be displayed above progress barplaybackRate
(int): [optional] defaults to 1; video's playback speedsrc
(arr): url for video sourcesrcType
(str): type of video sourceurl
(str): url of video source
centered
(bool): centers all content if true
Depends On
- hashi-button
- hashi-image
- hashi-alert