--- title: Link Button description: A styled anchor element that looks like an inline text link. --- ## Preview ## Installation CLI Manual ```bash npx @olyx/cli@latest add link-button ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { LinkButton } from "@/components/ui/link-button" ``` ```tsx Learn more ``` ## API Reference #### LinkButton Styled anchor element with variant, size, and underline options. | Prop | Type | Default | | ----------- | -------------------------------------------- | --------- | | `variant` | `"gray" \| "black" \| "primary" \| "error"` | `"black"` | | `size` | `"sm" \| "md"` | `"md"` | | `underline` | `boolean` | `true` | All props from `React.ComponentProps<'a'>` are also supported. ## Examples ### Gray ### Primary ### Error ### Small ### Without Underline ### Disabled