Airframe GitHub Storybook
Component

ba-inline-list

Dotted list for presenting details in a concise layout.

Airframe

Active
Figma

Web Components

Active
Storybook GitHub

React

Planned

React Native

Planned
Design Code Accessibility QA
A

List item

An individual entry in the inline list, combining a category and its details.

B

Separator

The dot that visually separates one list item from the next.

This component is designed for short, concise lists. Keep the overall text to a minimum and consider how longer translations may affect wrapping.

Use this component for concise details, not for long descriptions or content that needs several levels of structure. Present longer or more complex content in a format that is easier to scan and navigate.

<ba-inline-list>
  <ba-inline-list-item>
    <span slot="category">Category 1</span>
    <span slot="details">Details 1</span>
  </ba-inline-list-item>
  <ba-inline-list-item>
    <span slot="category">Category 2</span>
    <span slot="details">Details 2</span>
  </ba-inline-list-item>
  <ba-inline-list-item>
    <span slot="category">Category 3</span>
    <span slot="details">Details 3</span>
  </ba-inline-list-item>
</ba-inline-list>

This component does not have any properties or attributes.

  • None
Slot Description Permitted elements
Unnamed slot Elements will render in the body of the component <ba‑inline‑list‑item>

ba-inline-list can be slotted into:

To add content, use the ba-inline-list-item component and provide category and details content for each item.

Basic usage of ba-inline-list
<ba-inline-list>
  <ba-inline-list-item>
    <span slot="category">Category 1</span>
    <span slot="details">Details 1</span>
  </ba-inline-list-item>
  <ba-inline-list-item>
    <span slot="category">Category 2</span>
    <span slot="details">Details 2</span>
  </ba-inline-list-item>
  <ba-inline-list-item>
    <span slot="category">Category 3</span>
    <span slot="details">Details 3</span>
  </ba-inline-list-item>
</ba-inline-list>

React documentation coming soon.

React Native documentation coming soon.

Each list item should have text in both the category and details slots. Make sure the category describes the information that follows, so the relationship remains clear when read by assistive technology.

Use ba-inline-list-item for each entry in ba-inline-list. The component exposes a list and list items to assistive technology, allowing users to understand that the entries belong together.

Further reading:

No keyboard interactions have been defined for this component.

Use this checklist to confirm the component has been configured and used correctly.

  • ba-inline-list is used to present a small set of concise, related details.
  • Category labels and details are kept short, with longer translations considered to avoid wrapping.
  • Each ba-inline-list-item has a clear category and corresponding details.
  • ba-inline-list has discernible text for every list item.
  • Information conveyed by the dotted separators is also clear from the text and list structure.

These checks are handled by the component and do not need to be repeated each time it is used.

  • The list and its items are exposed to assistive technology as a list and list items.
  • Separators are hidden from assistive technology.
  • Colour contrast for the text and separators meets requirements in all BAgel themes.
  • Animations respect users' reduced motion settings.
  • High contrast mode adjustments preserve the text and list structure.
Designing Developing Components BAgel helper QA process britishairways.com Careers Cookie policy