Skip to content

CardSubtitle

Cards contain content and actions about a single subject. material.io

Warning

Not to be confused with the subtitle prop on the <CardTitle/> component or the <CardSubheader/> component.

Importing

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
import React from "react";
import { Card, CardSubtitle } from "photoncss/react";

export default function Component() {
    return (
        <Card>
            ...content
            <CardSubtitle>Subheader</CardSubtitle>
            ...content
        </Card>
    );
}

See also: