typography-inline-code

PreviousNext
Docs
takiexample

Preview

Loading preview…
registry/new-york/examples/typography-inline-code.tsx
export default function TypographyInlineCode() {
  return (
    <code className="bg-muted relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold">
      @radix-ui/react-alert-dialog
    </code>
  )
}

Installation

npx shadcn@latest add @taki/typography-inline-code

Usage

import { TypographyInlineCode } from "@/components/typography-inline-code"
<TypographyInlineCode />