Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-inline-code.json --yes

Inline code

Pro

A word or short phrase of code inside running text, such as a key or a path, for React and Tailwind CSS. Part of Goop Pro.

Type your own code into the line and make it long enough to wrap. Nothing runs: it is words in a sentence.

When to use

  • A word or short phrase of code inside running text, such as a key or a path.

When not to use

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 Inline code 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>/trail-inline-code.json --yes
PROMPT
Add the Goop Inline code to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { InlineCode } from '@/components/ui/goop/inline-code';

<p>
  Run <InlineCode>pnpm dev</InlineCode> to start.
</p>
  • Fits: chat, record: body.
  • width, padding, corner, background, text: add no class for these.

API reference

Options
OptionTypeWhat it does
asChild?boolean = falseRender the chip's look on the one child element instead of a code.
  • data-slot values (to select a part by): inline-code

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/trail/components/inline-code.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-inline-code.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.