Skip to content

Source code

List groups

Use list groups for related links, choices, or compact summaries.

Start with your first page. Shared ui* providers are registered by createAdmin. Examples belong inside a route template, not the root HTML document. The page and its optional controller load through Atrium’s lazy route registry.

Minimal example

<div class="list-group">
<a :href="href('/profile')" x-link class="list-group-item list-group-item-action">Profile</a>
<a :href="href('/settings')" x-link class="list-group-item list-group-item-action">Settings</a>
<button type="button" class="list-group-item" disabled>Unavailable</button>
</div>

Settings and behavior

  • Use list-group-item-action only for interactive rows.
  • Use native disabled for buttons.
  • A selected application choice should expose aria-current or aria-pressed as appropriate.

Integration notes

Use theme tokens instead of fixed colors. Keep accessible labels on controls. Test with keyboard navigation, both themes, and a narrow RTL viewport.

Working reference

See the production example. Return to the component index.

Author

Laurent Declercq l.declercq@agon-innovation.ch

License

Unless otherwise stated all source code is licensed under LGPL 2.1 and has the following copyright:

© 2026, Agon Partners Innovation AG, All rights reserved.

The design material and the “Agon Ātrium” trademark is the property of their authors. Reuse of them without prior consent of their respective authors is strictly prohibited.

Version

Version: 20260921