Picture Credit
A picture's credit, centred: its name underlined and linked, then place and date, over a small grey line. No dependencies.
UnlistedNo dependencies
Not in the components list.
This is a simple piece that ships with a site built with mewo. It installs like any other item, but the catalog, the sidebar and search leave it out.
Seen inBetween Rivers
A carved vessel, c. 3000 BCEA museum somewhere. Placeholder photograph, CC BY 4.0.
Install
Terminal
npx shadcn@latest add @mewo/picture-creditNot using the registry directory?
Point the CLI straight at the item URL:
npx shadcn@latest add https://www.mewo-ui.com/r/picture-credit.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "An old vessel" | The picture's name, underlined (linked when href is set). |
by | string | "c. 3000 BCE" | Place and date, after the name. |
line | string | a placeholder credit | The small grey line: where it is kept, the photograph's credit and licence. |
href | string | — | Where the name links; it opens in a new tab. |
className | string | — | Merged onto the paragraph: its width, say. |