Skip to content

ButtonLink

ButtonLink renders button behavior with legacy link styling.

Code
import { ButtonLink } from "@falcon/ui-kit/dist/legacy";
export function Example() {
return (
<ButtonLink title="View order details" onClick={() => {}}>
View order
</ButtonLink>
);
}
Code
import { ButtonLink, Icon } from "@falcon/ui-kit/dist/legacy";
export function Example() {
return (
<ButtonLink title="View order details" onClick={() => {}}>
<Icon name="tank" size="24" />
</ButtonLink>
);
}
Code
import { ButtonLink, Typography } from "@falcon/ui-kit/dist/legacy";
export function Example() {
return (
<ButtonLink title="View order details" onClick={() => {}}>
<Typography>View order</Typography>
</ButtonLink>
);
}
Code
import {
ButtonLink,
FlexWrapper,
Icon,
Typography,
} from "@falcon/ui-kit/dist/legacy";
export function Example() {
return (
<ButtonLink title="Back to orders" onClick={() => {}}>
<FlexWrapper align="center" gap={8}>
<Icon name="arrow-back" size="24" />
<Typography variant="h5">Back to orders</Typography>
</FlexWrapper>
</ButtonLink>
);
}
children: React.ReactNode
className?: string
disabled?: boolean
onClick: React.MouseEventHandler<Element>
title?: string
type?: "button" | "submit" | "reset"