API reference
components/cover-pattern
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/cover-pattern";Exports
Section titled “Exports”| 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”type CoverPatternProps = object & Omit<SVGAttributes<SVGSVGElement>, "children" | "role" | "aria-label">;Props accepted by CoverPattern.
Type Declaration
Section titled “Type Declaration”| 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”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.