Channel Row
Sharp, color-coded external link rows inspired by artist profiles — ideal for streaming platforms, social handles, merch stores, and pairing inside Module Accordions.
Interactive Playground
Test color-coded left accent spines and optional subtitle metadata.
channel-row-playground.tsx
Artist Channel Stack
Hairline-divided ChannelList grouping streaming, video, social, and merch links by color accent.
Quick Import
Example.tsxtsx
1import { ChannelList, ChannelRow } from "@rekodo/react";2import { Music2 } from "lucide-react";3
4export function Example() {5 return (6 <ChannelList className="border border-zinc-900">7 <ChannelRow8 href="https://bandcamp.com"9 accent="emerald"10 category="Audio"11 title="Bandcamp"12 icon={<Music2 className="h-5 w-5" />}13 />14 </ChannelList>15 );16}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Primary channel, platform, or link title. |
| category | string | undefined | Small uppercase eyebrow label above the title. |
| subtitle | string | undefined | Optional monospace handle or description below the title. |
| accent | "emerald" | "violet" | "rose" | "amber" | "sky" | "zinc" | "zinc" | Color-coded left border spine, icon tint, and category label tone. |
| icon | ReactNode | undefined | Leading icon rendered inside the sharp 40x40 square frame. |
| trailing | ReactNode | ArrowUpRight | Custom right-aligned adornment; defaults to an external arrow. |
| external | boolean | auto | Automatically sets target=_blank and rel=noopener noreferrer for http(s) URLs. |