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.
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
Option
Type
What it does
asChild?
boolean = false
Render 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