-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8beffb5
commit abbc2f2
Showing
3 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import { Meta } from '@storybook/blocks' | ||
import { ComponentList } from './../utils/ComponentList' | ||
import * as BlockCardGridItemStories from './../../components/BlockCardGridItem/BlockCardGridItem.stories' | ||
import * as BlockCircleImageCardStories from './../../components/BlockCircleImageCard/BlockCircleImageCard.stories' | ||
import * as BlockLinkCardStories from './../../components/BlockLinkCard/BlockLinkCard.stories' | ||
import * as BlockLinkTileStories from './../../components/BlockLinkTile/BlockLinkTile.stories' | ||
|
||
<Meta title="Components/Cards/Overview" /> | ||
|
||
# Card Components | ||
|
||
- [Carousel Cards](#carousel) | ||
- [Grid Cards](#grid) | ||
- [Reserved-use Cards](#reserved) | ||
|
||
<br /> | ||
|
||
<br /> | ||
|
||
<span id="carousel"></span> | ||
|
||
## Carousel Cards | ||
|
||
These cards are interchangeable within `MixinCarousel`. | ||
|
||
<br /> | ||
|
||
<ComponentList | ||
components={[ | ||
{ | ||
heading: 'BlockLinkCard', | ||
meta: BlockLinkCardStories, | ||
path: '/story/components-cards-blocklinkcard--base-story', | ||
fullWidth: true | ||
}, | ||
{ | ||
heading: 'BlockLinkTile', | ||
meta: BlockLinkTileStories, | ||
path: '/story/components-cards-blocklinktile--base-story', | ||
fullWidth: true | ||
} | ||
]} | ||
/> | ||
|
||
<span id="carousel"></span> | ||
|
||
## Grid Cards | ||
|
||
These cards can be used to create a grid of cards. | ||
|
||
<br /> | ||
|
||
<ComponentList | ||
components={[ | ||
{ | ||
heading: 'BlockCardGridItem', | ||
meta: BlockCardGridItemStories, | ||
customDescription: 'The link is optional', | ||
path: '/story/components-cards-blockcardgriditem--base-story', | ||
fullWidth: true | ||
} | ||
]} | ||
/> | ||
|
||
## Reserved-use Cards | ||
|
||
These cards were built for specific use-cases, but that does not exclude them from being re-used for other purposes. | ||
|
||
<br /> | ||
|
||
<ComponentList | ||
components={[ | ||
{ | ||
heading: 'BlockCircleImageCard', | ||
meta: BlockCircleImageCardStories, | ||
path: '/story/components-cards-blockcircleimagecard--base-story', | ||
fullWidth: true, | ||
customDescription: 'Used in the Timeline' | ||
} | ||
]} | ||
/> |