SingleFieldList

The records of the ambient list as an inline row, each rendering its children or, by default, a badge of its record representation.

Installation

pnpm dlx shadcn@latest add @chelone/single-field-list

The records of the ambient list as an inline row, each rendering its children or, by default, a badge of its record representation.

Props

PropTypeDefaultDescription
childrenReactNode—Rendered once per record, inside that record's context.
classNamestring—
render(record: RecordType, index: number) => ReactNode—Renders each record; wins over `children`.