import type { Meta, StoryObj } from '@storybook/nextjs' import GridMask from '.' const meta = { title: 'Base/Layout/GridMask', component: GridMask, parameters: { layout: 'fullscreen', docs: { description: { component: 'Displays a soft grid overlay with gradient mask, useful for framing hero sections or marketing callouts.', }, }, }, args: { wrapperClassName: 'rounded-2xl p-10', canvasClassName: '', gradientClassName: '', children: (
Grid Mask Demo Beautiful backgrounds for feature highlights

Place any content inside the mask. On dark backgrounds the grid and soft gradient add depth without distracting from the main message.

), }, tags: ['autodocs'], } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = {} export const CustomBackground: Story = { args: { wrapperClassName: 'rounded-3xl p-10 bg-[#0A0A1A]', gradientClassName: 'bg-gradient-to-r from-[#0A0A1A]/90 via-[#101030]/60 to-[#05050A]/90', children: (
Custom gradient Use your own colors

Override gradient and canvas classes to match brand palettes while keeping the grid texture.

), }, }