Files
community-rule/stories/sections/FeatureGrid.stories.js
T
2026-05-22 13:50:55 -06:00

53 lines
1.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import FeatureGrid from "../../app/components/sections/FeatureGrid";
export default {
title: "Components/Sections/FeatureGrid",
component: FeatureGrid,
parameters: {
layout: "fullscreen",
docs: {
description: {
component: `
Feature grid for the home marketing section (Figma 18847:22410).
- **Layout**: 2×2 on mobile, 1×4 on tablet, horizontal lockup + grid on desktop
- **Shell**: \`surface/default/secondary\` content block with responsive spacing tokens
- **ContentLockup**: Feature variant — 18/22 title & 14/20 subtitle (mobile), 24/32 title & 16/24 subtitle (640px+), 16/24 link
- **Mini tiles**: Invert-brand surfaces (royal, lime, rust, teal), 138px panel height, 48px icons
`,
},
},
},
argTypes: {
title: {
control: { type: "text" },
description: "Main headline text for the ContentLockup",
},
subtitle: {
control: { type: "text" },
description: "Supporting subtitle text for the ContentLockup",
},
className: {
control: { type: "text" },
description: "Additional CSS classes for custom styling",
},
},
};
export const Default = {
args: {
title: "We've got your back, every step of the way",
subtitle:
"Use our toolkit to improve, document, and evolve your organization.",
},
parameters: {
docs: {
description: {
story: `
Default FeatureGrid — responsive breakpoint layout with Figma styling (invert-brand tiles, secondary surface, updated lockup typography).
`,
},
},
},
};