Icon Tile

Folder Attachments Tile

A folder tile: an icon, a name, an attachment count with Russian pluralisation and the last-modified date on one line.

What you can change

  • name — the folder name
  • itemCount — the attachment count, pluralised automatically
  • modifiedLabel — the ready-made modified-date string

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/icontile-017?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

Server component, no hooks. The attachment count is inflected by the standard rules of Russian: the pluralForm function picks the form (1 файл, 3 файла, 12 файлов), and the text itself comes from the countText templates with {count} substituted rather than being printed as a static word — otherwise a tile with any count other than one would sound ungrammatical on "1". The metadata line is assembled from three parts — the counter, a decorative dot separator and the date: on a narrow container the date and the dot are the first to be hidden through @container, while the attachment count always remains, because for skimming a list it matters more than the exact date. itemCount is clamped from below at zero inside the component. The icon tile's colour follows the category-wide "background and glyph from one hue" formula, switched by tone. The palette has been moved to light-dark(): in the dark branch the border is lighter than the background rather than darker. The tile has no surface by default — it is set by the background prop, and then the theme branch is computed from the lightness of the given colour.

Tags

  • icontile
  • folder
  • file
  • date
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…