Skip to content
Components

Release tag

A torn calendar page for what just shipped: a stacked title, one accent strip and a ruled list of versions.

TS
import { … } from "@fungi.computer/caps/blocks/release-tag";

Hero

TSX
import { ReleaseTag } from "@fungi.computer/caps/blocks/release-tag";
export default function Hero() {
return (
<ReleaseTag
title={["Fungi", "Fall harvest"]}
label="Update"
entries={[
{ name: "Spore ID", version: "2.4.0" },
{ name: "Market", version: "1.9.1" },
{ name: "Forage log", version: "3.0.0" },
]}
/>
);
}

Single line

TSX
import { ReleaseTag } from "@fungi.computer/caps/blocks/release-tag";
export default function SingleLine() {
return (
<ReleaseTag
title={["Caps"]}
entries={[{ name: "Theme engine", version: "0.8.2" }]}
/>
);
}

Props

ReleaseTagProps

PropTypeDescription
titlereadonly string[]One or two short lines printed large on the tag, such as ["Fungi", "Beta"].
label?ReactNodeA small accent strip under the title, such as "Update".
entriesreadonly ReleaseTagEntry[]
  • titlereadonly string[]

    One or two short lines printed large on the tag, such as ["Fungi", "Beta"].

  • label?ReactNode

    A small accent strip under the title, such as "Update".

  • entriesreadonly ReleaseTagEntry[]

Full types: API reference.