Skip to content

Button

The Button component is used to trigger an action or event. It can be used to submit a form, navigate to a new page, or trigger an event.

With Gemini UI it comes with a shimmer effect on hover.

---
import { Button } from "@gemini-ui-astro/components";
---
<Button>Click me!</Button>

Props

The Button 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";
---
<button class="gx-button">Click me!</button>