Skip to content
API reference

components/cover-pattern

Import
import * as api from "@fungi.computer/caps/components/cover-pattern";
Kind Export Description
type alias CoverPatternProps Props accepted by CoverPattern.
constant CoverPattern A garden of mushrooms over a thread of mycelium: the stand-in for a cover that has no picture yet. It fills its box, holds no text, and takes every color from the theme.

CoverPatternPropstype alias

Section titled “CoverPatternProps”
Signature
type CoverPatternProps = object &
Omit<SVGAttributes<SVGSVGElement>, "children" | "role" | "aria-label">;

Props accepted by CoverPattern.

Name Type Description
seed string Stable identity that picks the garden; the same seed draws the same one.
label? string Names the pattern for assistive technology; without it the pattern is decorative.

CoverPatternconstant

Section titled “CoverPattern”
Signature
const CoverPattern: ForwardRefExoticComponent<
object &
Omit<SVGAttributes<SVGSVGElement>, "role" | "aria-label" | "children"> &
RefAttributes<SVGSVGElement>
>;

A garden of mushrooms over a thread of mycelium: the stand-in for a cover that has no picture yet. It fills its box, holds no text, and takes every color from the theme.