---
id: portfolio.ds.reply-inline-code
name: "Reply Inline Code"
type: component
status: active
relations: [{"type":"uses_token","target":"portfolio.ds.color-background-secondary"},{"type":"uses_token","target":"portfolio.ds.small-corner-radius"},{"type":"uses_token","target":"portfolio.ds.primitive-scale"}]
sources: ["packages/design-system/src/components/ReplyInlineCode.astro","apps/portfolio-site/src/design-system/docs/reply-inline-code.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/reply-inline-code.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/reply-inline-code.astro"]
---
# Reply Inline Code

## Purpose
Distinguish a short code reference from the prose around it.

## Contract
Render literal `text` in a native inline `<code>`. Use the shared monospace font for code; retain the paragraph's size, line height, weight, text color and wrapping. Use Background Secondary (`--color-bg-secondary`), Small Corner Radius (`--radius-sm`) and horizontal padding (`--primitive-space-2`). There is no vertical padding or scroll area.

## Use
Use as a private inline child of Reply Paragraph for an identifier, function call, command or tag.

## Do Not Use
Use Reply Code Block for a standalone multiline sample. Never execute or interpret the supplied text.

## Accessibility
Preserve native code semantics and the sentence's reading order. There is no separate focus target.

## Verification
Check that a literal tag stays text, punctuation stays adjacent, and a long identifier wraps without widening the paragraph.
