Card

Card component for displaying content in a structured layout.

import { Card } from '@document-writing-tools/kernux-react';
 
<Card
  variant="large"
  vorzeile="Latest News"
  title="Important Update"
  subline="Published today"
  body="This is the card content describing the update in detail."
  imgSrc="/image.jpg"
  imgAlt="Update illustration"
  primaryAction={{
    label: "Read More",
    href: "/updates/123"
  }}
  secondaryAction={{
    label: "Share",
    href: "/share/123"
  }}
/>

Props: