Log In Sign Up
HomeDocsListBullet Section

Bullet Section

Category: List
Bullet is commonly referred to as an unordered list or brief news, primarily consisting of short text and usually without accompanying images; bullet can also consist of one or more lines of text but ...

Introduction

We define simple information blocks as bullet, which display as much text information as possible. The basic structure is _bullet -> _bullet-body [ -> label]. The main purpose of _bullet-body is to create space around the label. Additional information can be marked with the rep attribute, with the following available values:

  • rep=label: Indicates a title (text that exceeds the line will be truncated)
  • rep=arrow: Indicates a directional arrow
  • rep=disk: Indicates a circular image
  • rep=cube: Indicates a square image
  • rep=rank: Indicates a ranking
  • rep=check: Indicates a static checkmark icon
  • rep=tips: Indicates a trailing tip

Basic Usage

Apply _bullet to a tag to create a single-line bullet information display.

Separated Content

Add the _bullet-body tag to isolate the main content. Within _bullet-body, add a tag with rep="label" to explicitly define a title. Using this attribute creates space around the title.

Title Only

For bullets containing only a title, the title can be wrapped with rep="label" or not. The entire _bullet can be an <a> link, or just the rep="label" portion can be the link.

Using Icons

For briefs with only a title that need icons, you can insert an i tag with the rep=icon attribute.

Using Circular Images

For briefs with only a title that need circular avatars or other images, you can insert an img tag with the rep=disk attribute.

Using Square Images

For briefs with only a title that need square avatars or other images, you can insert an img tag with the rep=cube attribute.

Suffix Text

_bullet uses a left-right layout - icons, images and titles are displayed on the left, while tips can be displayed on the right. Tips text appears in gray to provide auxiliary information about the item's status.

Indicator Arrow

To add a directional arrow to an item, add an i tag with rep=arrow attribute.

No Padding

By default, _bullet retains padding on both sides. If you need to remove the padding on both sides, you can add the unpadded attribute.

List Formatting

By default, a bullet is an independent element that can be combined into any section. To format multiple bullets as a list, you can use other tags or style classes like hr, oc-line, _bd[-*], _p[-*], _m[-*], _r[-*], _sd[-*], and _bg[-*].

New Launch: 20% Off All Products

Unlock all examples and development resources