Item

A versatile component that you can use to display any content, such as a title, description, and actions.

About

The Item component is a flexible building block for creating lists, feeds, or grids of content. It provides consistent spacing and typography for common patterns like titles, descriptions, and call-to-actions.

Installation

Run the following command to install the item component:

Usage

item-usage.ts

Default

A basic item with title and description.

Standard Account

Access to basic features and community support.

Variants

Different visual styles like outline and muted, with custom border colors.

Default Variant

The standard look for regular content items.

Outline Variant

A bordered style that emphasizes the item boundaries.

Muted Variant

Subtle appearance for less important background information.

Risk Warning

This action might lead to data loss. Please proceed with caution.

Size

Supports different sizes for compact or standard layouts.

Default Item Size

The standard size suitable for most list views.

Verification Successful

With Icons & Media

Integrating icons and specialized media containers for visual emphasis.

Security Alert

New login detected from an unrecognized device in Berlin, Germany.

System Update

Version 2.4.0 is now available with improved performance.

Avatar

Using hlm-avatar within hlmItemMedia for user-centric items.

ER
Evil Rabbit

Last seen 5 months ago

ER
No Team Members

Invite your team to collaborate on this project.

Image

Render items as media objects with thumbnails and status indicators.

Grouped Items

Combine multiple items into a single container using hlmItemGroup.

S
spartan-ng

spartan@ng.com

M
maxleiter

maxleiter@vercel.com

E
evilrabbit

evilrabbit@vercel.com

Header & Images

Using hlmItemHeader to display rich media like project thumbnails.

Alpha Stream
Alpha Stream

Everyday tasks and UI generation.

Nexus Code
Nexus Code

Advanced thinking or reasoning.

Sentient AI
Sentient AI

Open Source model for everyone.

Link

Items can be rendered as anchor elements for navigation.

Dropdown Integration

Using items within dropdown menus for rich selection options.

API Reference

Helm API

Item components use a modular set of directives to build complex layouts.

Class / DirectiveSelectorDescription
HlmItem[hlmItem] Main container for the item. Supports variant and size.
HlmItemContent[hlmItemContent]Main body area for text content.
HlmItemTitle[hlmItemTitle]Styled title element.
HlmItemDescription[hlmItemDescription]Styled description element.
HlmItemMedia[hlmItemMedia]Container for icons or small images.
HlmItemActions[hlmItemActions]Area for action buttons or links.