Skip to content
Star

PxListLayout

A card wrapper for list pages. It exposes tabs and filter slots that render above the card, and a default slot for the main content (typically a data table) that renders inside it.

Usage

Demo

Projects

Main content area (e.g. a PxDataTable)

Props

PropTypeDefaultDescription
classstring | null'px-4'Custom class applied to the wrapper around the default slot.
noCardbooleanfalseWhen true, renders the default slot without the card background/border/shadow.

Slots

SlotDescription
tabsRendered above everything else — typically a PxTabs for switching between list views.
filterRendered below tabs, above the card — typically a PxFilterBar.
defaultThe main content, rendered inside the card (unless noCard is set) — typically a PxDataTable.

Built with VitePress