Icon Tile
Gradient Icon Tile
A gradient icon tile whose whole colour pair is derived from a single hue angle: you cannot knock the gradient out of tune by picking colours by hand.
What you can change
- the glyph inside the tile through glyph
- the tile colour through hue: one number moves the whole gradient
- the size through size: sm, md or lg
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/icontile-002?lang=en&theme=dark
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. Both ends of the gradient are derived from the --vibeui-icontile-002-hue variable: the second is taken by shifting 32° around the same oklch wheel, so the pair is always in tune and the tile can be recoloured with a single number. The inner light border is made with an inset shadow rather than a border: a border would eat into the tile size and knock the icon grid out of alignment. The size is set by data-size and one variable, from which the radius and the glyph size are computed. The tile is decorative: without a label it gets aria-hidden, with a label it gets role=img and an accessible name.
Tags
- icontile
- gradient
- icon
- hue
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…