Park UI Logo
GitHub
Components
Icon

Icon

A graphical representation of an action, file, or concept.

Usage

import { DiamondIcon } from 'lucide-react'
import { Icon, type IconProps } from '~/components/ui'

export const Demo = (props: IconProps) => {
  return (
    <Icon {...props}>
      <DiamondIcon />
    </Icon>
  )
}

Installation

npx @park-ui/cli components add icon