Skip to content

Anchor Button

The AnchorButton component is used to navigate to a different page or section of the same page.

---
import { AnchorButton } from "@gemini-ui-astro/components";
---
<AnchorButton href="https://www.google.com" target="_blank">
Google
</AnchorButton>

Props

The AnchorButton component has the following props.

NameTypeDefaultDescription
classstring-Override or extend the styles applied to the component.

CSS API

---
import "@gemini-ui-css/components/button.css";
---
<a class="gx-button" href="https://www.google.com" target="_blank"> Google</a>