import Link from "../../app/components/navigation/Link"; export default { title: "Components/Navigation/Link", component: Link, parameters: { layout: "centered", docs: { description: { component: "Figma Navigation / Link (21861:21428). States are CSS-only (hover, focus-visible, active).", }, }, }, argTypes: { type: { control: { type: "select" }, options: ["primary", "secondary"], }, variant: { control: { type: "select" }, options: ["default", "paragraph"], }, theme: { control: { type: "select" }, options: ["light", "dark"], }, leadingIcon: { control: { type: "boolean" } }, trailingIcon: { control: { type: "boolean" } }, href: { control: { type: "text" } }, children: { control: { type: "text" } }, }, tags: ["autodocs"], }; export const Default = { args: { children: "Link Text", type: "primary", variant: "paragraph", theme: "light", href: "#", }, }; /** * Static grid: type × variant × theme (use browser :hover / Tab for states). */ export const Matrix = { render: () => (
Light background
Dark background