Skip to content

List 列表

Layout · Interactive component

Selectable business lists.

On-demand importwbbb-ui/components/list

Basic Usage

Example code
<script setup lang="ts">
import { WbbbList } from 'wbbb-ui/components/list'
import 'wbbb-ui/styles/list'
</script>

<template>
  <WbbbList />
</template>
Live mobile previewOpen in a new tab ↗

States and Interaction

All listed states can be operated and verified in the live Playground preview.

DefaultPressed选中Disabled

API Reference

Props

PropertyDescriptionTypeDefaultRequired
borderControls whether a separator or border is displayed.booleantrueNo
itemsProvides the data items rendered by the component.WbbbListItem[]() => []No

Events

  • select

Slots

  • default

Two-way binding

Does not support v-model.

Platform Notes

Build verification: H5, App Vue, WeChat Mini Program, Alipay Mini Program, and Douyin Mini Program.

Runtime differences: H5 supports keyboard focus and reduced motion. Mini Programs provide equivalent touch interaction; verify upload, date selection, and overlays on target platforms.

Usage note: Use Playground to verify further state combinations and cross-platform behavior.

Wbbb UI · Built for uni-app product experiences