Skip to content

ButtonIcon API

Import

import { ButtonIcon } from "@hrc/button";

Props

children (required)

Icon to display.

Type: ReactNode

CSS Variables

It uses the same CSS Variables of <Button/>

CSS Classes

.button--icon

Stylize the button to fit an icon.


Additionally, it uses the same CSS Classes of <Button />