@hashicorp/hashi-case-study-slider
v3.0.0
Published
displays up to three case studies
Downloads
40
Maintainers
Keywords
Readme
Case Study Slider
A slider component that can display up to three case studies and allow a visitor to toggle between them, and click through to read.
Props
_data
(obj) - data from the CMScase_studies
(array, max items: 3) Collection of case study objectscompany
(obj) - company object from Datomonochrome_logo
(obj)url
(string) URL to logoalt
(string) alt text for logoformat
(string) type of image (png, svg, etc)
white_logo
(obj)url
(string) URL to logoalt
(string) alt text for logoformat
(string) type of image (png, svg, etc)
case_study_resource
(obj)slug
(string) Path to resource pageimage
(obj)url
(string) URL to imagealt
(string) alt text for imageformat
(string) type of image (png, svg, etc)
headline
(string) headline text of the case studydescription
(string) body copy for the case study
timing
(integer) - timing value for slide duration in secondsdark
(boolean) - controls button color, progress bar color and logo color