Data display

Card list

@xui/card-list

A vertical list of cards rendered as flush rows.

Install

pnpm add @xui/card-list

Add the barrel to a standalone component's imports:

import { XuiCardListImports } from '@xui/card-list';

@Component({
  imports: [XuiCardListImports],
  // …
})

Examples

Default

Loading preview…

Compact

Loading preview…

Unbordered

Loading preview…

API

XuiCardList

directive[xuiCardList]

A vertical list of cards rendered as flush rows.

Variants

AxisOptionsDefaultborderedtruefalsetruecompacttruefalsefalse

Inputs

NameTypeDefaultclassClassValueThe user-defined classes. Merged last so they win over the variant classes.''borderedbooleanDraw the surrounding frame. Turn it off when nesting inside one.this.config.borderedcompactbooleanReduce the padding of every row.this.config.compact

Source

libs/ui/card-list/xui

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.