Skip to content
TrademarkTrademark
Docs
Components

InlineCode

Updated: May 9, 2025
View on GitHub

The InlineCode component is used to display code snippets inline with text. It provides consistent styling with a monospace font and a subtle background to make code stand out from regular text.

Inline

InlineCode can be used within text elements to highlight code snippets.

Custom styling

InlineCode inherits Flex props, allowing for customization of its appearance.

API reference

Type
Default
childrenrequired
React.ReactNode—
className
string—
style
React.CSSProperties—
…and every FlexProps propinherited—
Edit this page on GitHub