Skip to content

Tag Strip

The tag strip is a layout container that arranges tag pills in a horizontal row with consistent spacing. It appears below article cards and on detail pages to display an article’s topic tags. The strip itself has no visual styling — no background, padding, or border — it simply provides the flex layout and gap between its .tinnitus-tag children.

This component uses naluma design system tokens.

BEM class: .tinnitus-tag-strip


PropertyValue
Displayflex
Flex wrapwrap
Gap8px
BackgroundNone
PaddingNone
BorderNone

Children are .tinnitus-tag atoms — see the Tag Pill documentation for child styling.


Default strip

Tinnitus CBT Sound Therapy Sleep Habituation Research

Wrapping (many tags)

Tinnitus CBT Sound Therapy Sleep Habituation Mindfulness Research Hearing Loss Stress Management Relaxation

In context — research card

Cognitive Behavioral Therapy for Tinnitus

CBT significantly reduced tinnitus distress scores compared to waitlist control, with effects maintained at 12-month follow-up.

CBT Tinnitus Research

  • Always use with tag pill children. The strip is a container, not a standalone element. Its only children should be .tinnitus-tag spans.
  • Wrapping is intentional. The strip uses flex-wrap: wrap so tags flow to the next line naturally. Do not constrain height or hide overflow.
  • No maximum count, but consider UX. The strip technically supports any number of tags. Above 8—10 tags, the visual weight becomes heavy and scannability drops. Aim for 3—5 tags per article.
  • No nested BEM elements. Unlike most WordPress components, the tag strip has no __element classes. It is a simple flex container that wraps existing tag pill atoms.