Sha256: 0e5b5c66102aeda3f873a726035ed8a2edbdb1dc4043b7f5f971f0907aaeb6ac

Contents?: true

Size: 718 Bytes

Versions: 948

Compression:

Stored size: 718 Bytes

Contents

import React from 'react'
import {
    Overlay,
    Card,
    Flex,
    FlexItem,
} from 'playbook-ui'

const InlineCardsExample = () => {
    return (
        <Flex
            columnGap="lg"
            orientation="row"
            overflowX="auto"
        >
            {Array.from({ length: 15 }, (_, index) => (
                <FlexItem key={index}>
                    <Card>{"Card Content"}</Card>
                </FlexItem>
            ))}
        </Flex>
    )
}

const OverlayMultiDirectional = () => (
    <>
        <Overlay
            color="card_light"
            layout={{"x": "xl"}}
        >
            <InlineCardsExample />
        </Overlay>
    </>
)

export default OverlayMultiDirectional

Version data entries

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx