Component
ResourcesPanel
List project resources such as live links, source, docs, files, and videos in a compact sidebar.
Interactive preview
Usage
Import the component entry and start with its smallest complete example.
Import
import { ResourcesPanel } from "@chitrank2050/monoline-ui/resources-panel"Basic usage
<ResourcesPanel
meta="v2.4.1 · MIT"
title="Resources · 8"
items={[
{
kind: "live",
label: "Live app",
href: "https://monolineui.io",
host: "monolineui.io",
primary: true,
},
{
kind: "source",
label: "Source code",
href: "https://github.com/monoline/insights",
host: "github.com/monoline/insights",
},
]}
/>
<ResourcesPanel title="Links" items={resources} footer={null} />Usage guidance
Choose the component for its interaction model and semantics before customizing its appearance.
ResourcesPanel groups source, package, documentation, design, or media links in one place.
The links are primary site navigation or the URLs have no clear user-facing labels.
ResourcesPanel is an aside containing a list of native links. Decorative icons stay hidden, and the complementary landmark needs a descriptive title.
This component can render without adding a Monoline client boundary when its children and props are serializable.
API reference
Props, slots, and callbacks available on this component.
Design tokens
Theme variables this component reads for color, spacing, and motion.
Implementation
The source used by the example above, including any state it needs.
import { ResourcesPanel } from "@chitrank2050/monoline-ui/resources-panel"
export function ProjectResources({ resources }) {
return (
<ResourcesPanel
meta="v2.4.1 · MIT"
title={`Resources · ${resources.length}`}
items={resources}
footerLabel="8 total resources"
/>
)
}Related documentation
Compare related components or review the package and theme setup.