Park UI Logo
GitHub
Components
Icon button

Icon Button

An interactive element used to trigger actions.

Usage

import { ArrowRightIcon } from 'lucide-react'
import { IconButton, type IconButtonProps } from '~/components/ui'

export const Demo = (props: IconButtonProps) => {
  return (
    <IconButton {...props} aria-label="Next Page">
      <ArrowRightIcon />
    </IconButton>
  )
}

Installation

npx @park-ui/cli components add icon-button