ReleaseArt
Flat geometric artwork for a release, from a stored spec or a seed: the same picture every time, a new one for every release.
<div className="w-full max-w-640">
<ReleaseArt
seed="0.3.0"
art={{ version: 1, seed: 2886621037, style: "stripes", palette: 6 }}
label="Kaeso 0.3.0"
eyebrow="What's new in Kaeso"
title="0.3.0"
/>
</div>import { ReleaseArt } from "@logicplanes/kaeso-ui";Props
artReleaseArtSpecThe release's stored artwork, e.g. from
nextReleaseArt; it always draws the same picture and wins overseed.eyebrowReactNodeSmall text above the title, e.g. “What's new in Kaeso”.
flushbooleanDrops the rounded corners and outline and fills the height it is given, cropping to its shape, for artwork that meets the edges of the surface it sits in, such as an
Announcement.labelstringWhat the picture shows, read by screen readers: "Kaeso 0.1.0".
seedstringWhat the artwork is drawn from when there is no
art, e.g.0.1.0; the same seed always draws the same picture.shape"banner" | "wide" = bannerThe artwork's aspect ratio.
srcstringAn image of the release's stored artwork, e.g.
https://update.kaeso.app/art/0.1.0.svg, shown in the frame instead of the drawn picture, which takes its place if the image doesn't load.titleReactNodeLarge text on the artwork, e.g. the version number.