Link Button

Deprecated — use Button with an href.

Deprecated. Use Button with an href. Button renders a real anchor when given href — same variants, sizes, and styling — and it also supports the pending/success states LinkButton never had. There is nothing LinkButton does that Button with href doesn't.

LinkButton still ships and works, so existing usage is safe, but it is no longer the recommended path and will be removed in a future major.

Migrating

The props line up one to one — swap the component name and keep href, variant, size, and icons as they are.

// Before
import { LinkButton } from '@base-org/bds-web/product/link-button';

<LinkButton href="/get-started" variant="primary">Get Started</LinkButton>;

// After
import { Button } from '@base-org/bds-web/product/button';

<Button href="/get-started" variant="primary">Get Started</Button>;

See Button → As a link for the full API.