Landing Page Card
Design System - Landing Page component

// Sample code
<LandingPageCard
buttonSize="medium"
centreChildren={[
<div>Here you can add any text content between metrics and links</div>
]}
endChildren={[
<div>Here you can add any text content below links</div>
]}
icon="SupervisorAccount"
links={[
{
icon: 'Person',
label: 'Create User',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
},
{
icon: 'Edit',
label: 'Edit User',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
},
{
icon: 'Preview',
label: 'View User',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
},
{
icon: 'Delete',
label: 'Delete User',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
}
]}
metrics={[
{
count: 40,
label: 'Lorem Ipsum',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
},
{
count: 40,
label: 'Lorem Ipsum',
link: 'https://unified-dev.digit.org/storybook/?path=/story/atoms-backlink--primary'
}
]}
moduleName="Dashboards"
onMetricClick={function noRefCheck(){}}
style={{}}
variation="one"
/>Anatomy

Variants

Properties





Property Configuration Table
Property
Value
Default
Property
Value
Default
Usage Guide


Change log
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?