byronwade/ui
Application UI

Data display · Application UI

Resource list

List-view of selectable rich rows (ResourceList + ResourceItem), media, title, metadata, badges, hover actions, bulk selection. The list counterpart of index-table.

@byronwade/foundation@byronwade/badge@byronwade/bulk-action-bar@byronwade/checkbox@byronwade/demo-viewport@byronwade/entity-row@byronwade/utils

Feature showcase

Installation

Features

  • Density and inset framing

    Compact/default/comfortable rows pair with a default or inset frame for admin indexes.

  • Selectable rich rows

    ResourceItem rows support media, title, subtitle, badges, hover actions, and bulk selection.

API

Props

PropTypeDefaultDescription
density"compact" | "default" | "comfortable""default"Row density for scan-heavy lists. Compact tightens rows; comfortable adds breathing room.
frame"default" | "inset""default"Surface treatment. Use `inset` for Shopify-style admin panels set into a muted frame.
selectablebooleanfalseEnables list-level selection and select-all behavior for child ResourceItem rows.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/badgeregistryInstalled through the byronwade/ui registry.
@byronwade/bulk-action-barregistryInstalled through the byronwade/ui registry.
@byronwade/checkboxregistryInstalled through the byronwade/ui registry.
@byronwade/demo-viewportregistryInstalled through the byronwade/ui registry.
@byronwade/entity-rowregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.

Source and related

FilePath
Componentregistry/ui/resource-list.tsx
Default examplecontent/examples/resource-list/default.tsx
Compact examplecontent/examples/resource-list/compact.tsx
Inset examplecontent/examples/resource-list/inset.tsx
Compact Inset examplecontent/examples/resource-list/compact-inset.tsx
Comfortable examplecontent/examples/resource-list/comfortable.tsx
Comfortable Inset examplecontent/examples/resource-list/comfortable-inset.tsx
Empty examplecontent/examples/resource-list/empty.tsx
Loading examplecontent/examples/resource-list/loading.tsx
No Media examplecontent/examples/resource-list/no-media.tsx
Selectable examplecontent/examples/resource-list/selectable.tsx
With Actions examplecontent/examples/resource-list/with-actions.tsx