Anchor Button
An action that reads as an inline text link, with the same conventions as Button.
Show codeHide code
Installation
import { AnchorButton } from "@makeplane/propel/components/anchor-button";Usage
import { AnchorButton } from "@makeplane/propel/components/anchor-button";
export default function BasicDemo() {
return <AnchorButton label="Show more" variant="primary" size="sm" />;
}Examples
Variants
primary is the blue link; secondary the muted gray inline link.
Show codeHide code
Sizes
size matches Button’s ladder — xs 20 / sm 24 / md 28 / lg 32 px — so a text link
sitting beside a button lines up at the same rung. It sets the label’s text size and the glyph
beside it; there is no default.
Show codeHide code
With icons
Pass icon and pick its side with iconPosition (start by default).
Show codeHide code
Loading
The loading spinner takes the icon slot, dims the label, and makes the control non-interactive.
Show codeHide code
As a link
By default the control is a <button> that reads as a link; for real navigation pass render={<a href=… />} with nativeButton={false} — the <a> keeps native navigation while Base UI keeps role, focus, and activation semantics right.
Show codeHide code
API Reference
AnchorButton
The ready-made interactive element that _looks like_ an inline text link — same conventions as `Button`: it grafts Base UI's `Button` behavior onto the styled `AnchorButton` element and lays out an optional `icon` beside the label (`iconPosition`) plus a `loading` spinner in the same slot. By default it is a `<button>` (an action that reads as a link — a "Show more" toggle, an inline "Edit"); for real navigation pass `render={<a href=… />}` + `nativeButton={false}`. For a link wearing the BUTTON chrome, use `Button` with the same `render` mechanics.