@hashicorp/hashi-hero
v4.0.0
Published
basic full page hero with a lot of customization options
Maintainers
Keywords
Readme
Hero
Basic full page hero with a lot of customization options.
Params
centered(bool): [optional] centers all content if true_data(obj): data passed in from datocmstheme(str): defaults to dark theme;lightchanges to light themebackground_image(obj): [optional] url prop contains link to imagetitle_logo(obj): [optional] url prop contains link to image. sits above headline.title(str): main titledescription(str): smaller text under the subtitle, markdown enabledbuttons(arr): [optional] array of link objectstitle(str): primary button texturl(str): where the button links to
help_text(str): [optional] markdown, usually a small link at bottomvideos(arr): [optional] array of videos to be played in a carouselname(str): name to be displayed above progress barplayback_rate(int): [optional] defaults to 1; video's playback speedsrc(arr): url for video sourcesrc_type(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
