With number

VCardWithNumber

The VCardWithNumber component is a simple card design that displays an index (number or string) and associated text. This card can be used for scenarios where you want to highlight an index or ranking number alongside descriptive text, such as in a list or dashboard-style layout.

Props

PropTypeDescriptionDefault
index`StringNumber`The index or number to be displayed in the card.
textStringThe text content to be displayed in the card.null

Example

vue
<VCardWithNumber
  index="1"
  text="This is the first item"
/>
1

This is the first item

VSectionCardWithNumber

The VSectionCardWithNumber component displays a section with a title, subtitle, and a list of numbered items. The component is built with two main sections: a left or right-aligned content area and a list of VCardWithNumber components, which display the items with numbers. This component is perfect for showcasing numbered lists or ordered content in a flexible layout.

Props

PropTypeDefaultDescription
itemsArray<string>An array of strings representing the items to display in the numbered list.
position`'left''right'`'right'
titleStringThe title of the section.
subtitleStringThe subtitle of the section.
linkTextStringThe text to be displayed for the link.
linkHrefStringThe URL for the link.
mobileReverseBooleanIf true, reverses the layout on mobile screens (swapping left and right).

Example

vue
<VSectionCardWithNumber
  :items="['Item 1', 'Item 2', 'Item 3']"
  position="left"
  title="Section Title"
  subtitle="This is a subtitle"
  linkText="Learn More"
  linkHref="/link"
  :mobileReverse="true"
/>
1

Item 1

2

Item 2

3

Item 3

Section Title

This is a subtitle
Learn More
Help Ukraine to stop russian aggression