@antadesign/anta
    Preparing search index...

    Function CardUnreviewed

    • A surface container: a bordered, toned box laying out an optional media region plus a header / body / footer stack. Pass href to turn the whole card into a link.

      Renders an <a-card> web component. A stateless projection — the element owns layout, the link, and the accessible name, and stylizes only its own surface (never its children's typography). The wrapper maps props to attributes, projects content into the media / icon / header / body / footer sections, and supplies typography for the two text zones by wrapping a string header in <Title> and a string body in <Text>. A leading icon (a shape string, or any node) is laid out beside the title / subtitle by the element. There is no actions slot — lay out any header controls (buttons, tags) inside the header yourself.

      Requires @antadesign/anta/elements to be imported (client-side only) to register the underlying custom element.

      Parameters

      Returns any

      <Card header="Deployment ready" footer={<Button priority="primary" label="Deploy" />}>
      Your build passed all checks and is ready to ship.
      </Card>
      <Card href="/docs/ci" header="CI integration guide">
      Connect your CI pipeline in a few minutes.
      </Card>