Skip to content

Item ​

Loading...

<flint-item-title> ​

Displays the title of an item.

  • Tag: <flint-item-title>
  • Class: FlintItemTitle

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemTitle } from '@getufy/flint-ui';

Usage ​

html
<flint-item-title></flint-item-title>

Slots ​

NameDescription
(default)Title text.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.

CSS Custom Properties ​

PropertyDefault
--flint-text-color-muted—
--flint-font-family—
--flint-text-color—

<flint-item-description> ​

Displays the description of an item.

  • Tag: <flint-item-description>
  • Class: FlintItemDescription

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemDescription } from '@getufy/flint-ui';

Usage ​

html
<flint-item-description></flint-item-description>

Slots ​

NameDescription
(default)Description text.

<flint-item-media> ​

Media container for an item (icon, avatar, or image).

  • Tag: <flint-item-media>
  • Class: FlintItemMedia

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemMedia } from '@getufy/flint-ui';

Usage ​

html
<flint-item-media></flint-item-media>

Properties ​

PropertyAttributeTypeDefaultDescription
variantvariant'default' | 'icon' | 'image''default'Visual treatment for the media container.

Slots ​

NameDescription
(default)Media content: SVG icon, avatar element, or image.

CSS Custom Properties ​

PropertyDefault
--flint-item-media-icon-bg—
--flint-item-media-icon-color—

<flint-item-content> ​

Flex-column wrapper for an item's title and description.

  • Tag: <flint-item-content>
  • Class: FlintItemContent

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemContent } from '@getufy/flint-ui';

Usage ​

html
<flint-item-content></flint-item-content>

Slots ​

NameDescription
(default)Accepts flint-item-title, flint-item-description, or any content.

<flint-item-actions> ​

Container for action buttons or other interactive elements. Aligns itself to the trailing edge of the item row.

  • Tag: <flint-item-actions>
  • Class: FlintItemActions

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemActions } from '@getufy/flint-ui';

Usage ​

html
<flint-item-actions></flint-item-actions>

Slots ​

NameDescription
(default)Buttons, icons, or any interactive elements.

<flint-item-header> ​

Full-bleed header that spans the top of the item, cancelling the item's padding so media (images) appear flush with the border. Always place as the first child of flint-item.

  • Tag: <flint-item-header>
  • Class: FlintItemHeader

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemHeader } from '@getufy/flint-ui';

Usage ​

html
<flint-item-header></flint-item-header>

Slots ​

NameDescription
(default)Header content, typically an image or decorative element.

Full-bleed footer that spans the bottom of the item, cancelling the item's padding so the footer appears flush with the border. Always place as the last child of flint-item.

  • Tag: <flint-item-footer>
  • Class: FlintItemFooter

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemFooter } from '@getufy/flint-ui';

Usage ​

html
<flint-item-footer></flint-item-footer>

Slots ​

NameDescription
(default)Footer content: metadata, links, supplementary actions.

CSS Custom Properties ​

PropertyDefault
--flint-item-footer-bgtransparent

<flint-item-separator> ​

Visual separator between items in a group.

  • Tag: <flint-item-separator>
  • Class: FlintItemSeparator

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemSeparator } from '@getufy/flint-ui';

Usage ​

html
<flint-item-separator></flint-item-separator>

CSS Custom Properties ​

PropertyDefault
--flint-border-color—

<flint-item-group> ​

Container for grouping related items together.

  • Tag: <flint-item-group>
  • Class: FlintItemGroup

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItemGroup } from '@getufy/flint-ui';

Usage ​

html
<flint-item-group></flint-item-group>

Slots ​

NameDescription
(default)Accepts flint-item, flint-item-separator, and any other elements.

CSS Custom Properties ​

PropertyDefault
--flint-item-group-gap—

<flint-item> ​

Root container for displaying content with media, title, description, and actions. A versatile flex row that adapts to icons, avatars, images, and action buttons.

  • Tag: <flint-item>
  • Class: FlintItem

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintItem } from '@getufy/flint-ui';

Usage ​

html
<flint-item></flint-item>

Properties ​

PropertyAttributeTypeDefaultDescription
variantvariant'default' | 'outline' | 'muted''default'Visual style of the item.
sizesize'default' | 'sm' | 'xs''default'Size preset controlling padding and gap.

Slots ​

NameDescription
(default)Accepts flint-item-header, flint-item-media, flint-item-content, flint-item-actions, flint-item-footer, and any other elements.

CSS Custom Properties ​

PropertyDefault
--flint-item-padding—
--flint-item-gap—
--flint-item-media-icon-bg—
--flint-item-media-icon-color—
--flint-border-color—
--flint-muted-bg—
--flint-item-footer-bgtransparent
--flint-item-group-gap4px