Collection Stable Dark theme
Collections are kind of list seperated by horizontal rules. Often the Collection items are links to related content pages. The content of each collection item can contain other layout objects.
<uimc-collection>
<uimc-collection-item>
</uimc-collection-item>
</uimc-collection>
Collection container
Attribute | Description | Values | Default |
---|---|---|---|
compact | Sets a more compact appereance | – | – |
full-bordered | Adds a border around the collection | – | – |
theme | Set the color scheme of the component | light , dark | light |
Slot | Slotted content |
---|---|
default | Nest some <uimc-collection-item> |
Collection items
Attribute | Description | Values | Default |
---|---|---|---|
url | Sets a link on the item | valid URL | – |
Slot | Slotted content |
---|---|
default | Content placed as caption |
additional-content | Place for buttons or icons on the right side |
Basic
<uimc-collection>
<uimc-collection-item>
<div>Lorem ipsum dolor sit amet</div>
</uimc-collection-item>
</uimc-collection>
Dark theme
<uimc-collection theme="dark">
<uimc-collection-item url="#">
<div>Lorem ipsum dolor sit amet</div>
</uimc-collection-item>
</uimc-collection>
Collection as Link List
<uimc-collection>
<uimc-collection-item url="#">
<div>Lorem ipsum dolor sit amet</div>
</uimc-collection-item>
</uimc-collection>
Collection as Link List with Indicator
<uimc-collection>
<uimc-collection-item url="#">
<div>Lorem ipsum dolor sit amet</div>
<div slot="additional-content">
<i class="icon-arrow-right color-gray"></i>
</div>
</uimc-collection-item>
</uimc-collection>
Collection as Link List with Controls
<uimc-collection>
<uimc-collection-item>
<div>Lorem ipsum dolor, sit amet consectetur adipisicing elit.</div>
<div slot="additional-content">
<uimc-button type="control" icon="download">Download</uimc-button>
</div>
</uimc-collection-item>
</uimc-collection>
Collection full bordered
<uimc-collection full-bordered>
<uimc-collection-item>
<div>Lorem ipsum dolor, sit amet consectetur adipisicing elit.</div>
<div slot="additional-content">
<uimc-button type="control" icon="download">Download</uimc-button>
</div>
</uimc-collection-item>
</uimc-collection>
Compact collection
<uimc-collection compact>
<uimc-collection-item>
<div class="font-size-small">Lorem ipsum dolor, sit amet consectetur adipisicing elit.</div>
<div slot="additional-content">
<uimc-button type="control" size="small" icon="edit">Edit</uimc-button>
</div>
</uimc-collection-item>
</uimc-collection>
Collection with grid
Lorem ipsum dolor sit amet
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Lorem ipsum dolor sit amet
Beatae eveniet distinctio temporibus architecto ducimus cumque omnis dolore.
Lorem ipsum dolor sit amet
Quibusdam culpa asperiores esse quod voluptas.
Lorem ipsum dolor sit amet
Eos excepturi nam neque perspiciatis accusamus aliquam, impedit earum maxime mollitia.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod.
<uimc-collection>
<uimc-collection-item url="#">
<div>
<div class="row">
<div class="col-12 col-md-3 col-lg-4">
<div class="aspect-ratio-16x9">
<img alt="Technologies & Innovations" src="/ui-marcom/assets/img/brandville/SH_ACUSON_Redwood_69730_IMAGE_19.jpg">
</div>
</div>
<div class="col-12 col-md-7 col-lg-6">
<h5 class="margin-top-0">
Lorem ipsum dolor sit amet
</h5>
<p class="margin-bottom-0">
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
</p>
</div>
</div>
</div>
</uimc-collection-item>
</uimc-collection>
Collection with media-object
Lorem ipsum dolor sit amet
Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Lorem ipsum dolor sit amet
Beatae eveniet distinctio temporibus architecto ducimus cumque omnis dolore.
Lorem ipsum dolor sit amet
Quibusdam culpa asperiores esse quod voluptas.
Lorem ipsum dolor sit amet
Eos excepturi nam neque perspiciatis accusamus aliquam, impedit earum maxime mollitia.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod.
<uimc-collection>
<uimc-collection-item url="#">
<div>
<div class="media-object">
<div class="media-object__image">
<div class="aspect-ratio-1x1 aspect-ratio--cover image-size-small">
<img alt="Technologies & Innovations" src="/ui-marcom/assets/img/brandville/SH_ACUSON_Redwood_69730_IMAGE_19.jpg" />
</div>
</div>
<div class="media-object__body">
<h5>Lorem ipsum dolor sit amet</h5>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit.</p>
</div>
</div>
</div>
</uimc-collection-item>
</uimc-collection>