Add the No Rules empty-state card from Figma.

This commit is contained in:
adilallo committed 2026-11-11 11:33:09 -07:00
1 parent e08884efde
commit b1ae274ff6
7 files changed
+156 -1

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
import NoRules from "../../app/components/cards/NoRules";
export default {
title: "Components/Cards/NoRules",
component: NoRules,
parameters: {
layout: "centered",
backgrounds: { default: "dark" },
docs: {
description: {
component:
"Empty state for Your Rules on Profile when a member has no Rules yet.",
},
},
},
argTypes: {
title: { control: "text" },
description: { control: "text" },
createLabel: { control: "text" },
browseLabel: { control: "text" },
browseHref: { control: "text" },
onCreate: { action: "create" },
},
};
export const Default = {
args: {
title: "No Rules yet",
description:
"Start from a template, or write your first over a few short meetings with the free kit.",
createLabel: "Create rule",
browseLabel: "Browse templates",
browseHref: "/templates?fromFlow=1",
className: "max-w-[560px]",
},
};