Skip to main content

Links

You can link story from another story:

import * as React from "react";
import { useLink } from "@ladle/react";

export const Link = () => {
const to = useLink();
return <button onClick={() => to("controls--first")}>Controls</button>;
};

The id used controls--first is what you find in the URL as the ?story= parameter.

Do you want to work on Ladle and other web tooling? Our team at Uber is hiring!