Gradient Tile
The Gradient Tile component is deprecated as of Visage 5.12. It was used in page designs that no longer represent the Vistaprint style.
Do not create any new instances of it, and please update or remove any existing instances, since Gradient Tile will be removed from Visage in the future.
A Gradient Tile is a tile that places a gradient over its image. It places the tile name over the bottom of the image.
To make a Gradient Tile clickable, you can make its outer element an <a>
tag.
Tile name
<GridContainer><Row><Column span={6}><GradientTile><GradientTileImage><BasicResponsiveImageaspectRatio={1 / 2}src="https://picsum.photos/400/400"/></GradientTileImage><GradientTileName>Tile name</GradientTileName></GradientTile></Column></Row></GridContainer>
<div class="gradient-tile"><!-- can be an <a> tag if the tile is clickable --><div class="gradient-tile-image">responsive image goes here</div><p class="gradient-tile-name">Tile name</p></div>
Components
GradientTile
GradientTile
has no props of its own
All props are forwarded to the element specified in thecomponent
prop(default: <div/>
)
GradientTileImage
GradientTileImage
has no props of its own
All props are forwarded to the element specified in thecomponent
prop(default: <div/>
)
GradientTileName
GradientTileName
has no props of its own
All props are forwarded to the element specified in thecomponent
prop(default: <p/>
)
Guidelines
Designer Guidelines
Gradient Tiles must have an image and a tile name, and only those elements.
Accessibility Guidelines
The same guidelines that apply to Standard Tiles apply to Gradient Tiles.