Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-icon-tile.json --yes

Icon tile

Pro

A small square holding one icon that marks what a row, a card or a step is about, for React and Tailwind CSS. Part of Goop Pro.

Switch the look, the size and the icon: the tile beside its words follows, light and dark. Nothing is fake.

When to use

  • A small square holding one icon that marks what a row, a card or a step is about.

Installation

Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Icon tile on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-icon-tile.json --yes
PROMPT
Add the Goop Icon tile to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { IconTile, IconTileIcon } from '@/components/ui/goop/icon-tile';

function RecordStep() {
  return (
    <IconTile className="bg-orange-fill">
      <IconTileIcon icon="tabler-outline:sparkle-2" />
    </IconTile>
  );
}
  • Fits: flow, states (their recipes).
  • height, width, corner, background, shadow, text, motion: add no class for these.

API reference

Options
OptionTypeWhat it does
variantdefault | surface | subtle = default
sizesm | md = md
asChild?boolean = falseRender the tile's look on the one child element instead of a div (a link to the subject, a picker's button).
Parts
PartWhat it is
IconTileIconThe single icon inside an IconTile; with asChild it dresses your own icon element instead; takes asChild; icon?: IconName — A pack icon name; left out with asChild, where your own element is the icon
  • Class recipes (cva): iconTileVariants (IconTile)
  • data-slot values (to select a part by): icon-tile, icon-tile-icon

Accessibility

  • hover, active: the browser's own (:hover, :active): write nothing

Its states are drawn from attributes and props, so assistive technology and your agent read the same thing:

StateDrawn by
focus-visiblethe attribute data-focus-visible

Motion

  • The part sets its own motion: add no transition or animation of your own.

Notes for AI

Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.

goop.so/themes/meadow/components/icon-tile.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-icon-tile.json --yes

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.