Discography
Release catalog browser supporting physical AlbumArt grid view and chronological index list with catalog numbers and format tags.
Interactive Discography
Switch between physical AlbumArt grid view and compact catalog index list.
discography-playground.tsx

LPSMK-024
2026 · LPSMK-024
Chazawa-dori Midnight Echoes
Shimokita Press · 10 tracks

CassetteSMK-019
2025 · CassetteSMK-019
Live at Shelter Basement
Setagaya Tapes · 7 tracks

7"SMK-012
2024 · 7"SMK-012
Inokashira Line Drift
Shimokita Press · 2 tracks
Layout
Packaging
Accent
Quick Import
Example.tsxtsx
1import { Discography } from "@rekodo/react";2
3export function Example() {4 return (5 <Discography6 layout="grid"7 artVariant="sleeve"8 releases={[9 { id: "1", title: "Chazawa-dori Midnight Echoes", year: 2026, type: "LP", catalogNumber: "SMK-024", trackCount: 10 },10 { id: "2", title: "Live at Shelter Basement", year: 2025, type: "Cassette", catalogNumber: "SMK-019", trackCount: 7 },11 ]}12 />13 );14}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| releases | DiscographyRelease[] | — | Array of release entries with title, year, type, catalogNumber, and optional cover. |
| layout | "grid" | "list" | "grid" | Physical AlbumArt cover grid or structured catalog index list. |
| artVariant | "sleeve" | "jewel" | "poster" | "sleeve" | Packaging style passed to AlbumArt in grid layout. |
| activeId / isPlaying | string / boolean | undefined / false | Highlights the currently playing release. |
| onSelectRelease | (release: DiscographyRelease) => void | undefined | Callback fired when a release or its play button is clicked. |
| accent | "violet" | "rose" | "violet" | Accent color for active highlights and format tags. |