Park UI Logo
GitHub
Components
Icon button

Icon Button

An interactive element used to trigger actions.

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

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

Usage

import { IconButton } from '~/components/ui/icon-button'

Installation

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