Park UI Logo
GitHub
Typography
Code

Code

A component to display inline code snippets.

Usage

@park-ui/panda-preset
import { Code, type CodeProps } from '~/components/ui'

export const Demo = (props: CodeProps) => {
  return <Code {...props}>@park-ui/panda-preset</Code>
}

Installation

npx @park-ui/cli components add code