InlineCode
A small monospace code fragment that participates in running text.
Preview
Import @/ui/button in your project.
Use InlineCode
InlineCode is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Native code semantics, bundled monospace stack and a quiet inline surface. Content is text; no HTML parsing or syntax highlighting is performed.
- wrap defaults to true for long identifiers. wrap=false preserves the fragment on one line and the host must manage overflow. Use CodeSnippet for blocks of code and Kbd for keyboard input.
- Compatible addition in 0.2.5. Uses existing Flood semantic tokens and relative geometry.
API reference
View TypeScript source