diff --git a/.changeset/navigation-item-badge-template.md b/.changeset/navigation-item-badge-template.md new file mode 100644 index 0000000000..a5e6f69159 --- /dev/null +++ b/.changeset/navigation-item-badge-template.md @@ -0,0 +1,5 @@ +--- +'@solid-design-system/docs': patch +--- + +Added a new template story showing `sd-navigation-item` combined with `sd-badge` for horizontal navigation with notification counts and status indicators. diff --git a/packages/docs/src/stories/templates/navigation-item-badge.stories.ts b/packages/docs/src/stories/templates/navigation-item-badge.stories.ts new file mode 100644 index 0000000000..f6841abbbe --- /dev/null +++ b/packages/docs/src/stories/templates/navigation-item-badge.stories.ts @@ -0,0 +1,54 @@ +import '../../../../components/src/solid-components'; +import { html } from 'lit-html'; + +export default { + tags: ['!dev', 'autodocs'], + title: 'Templates/Navigation Item Badge', + parameters: { + chromatic: { disableSnapshot: true }, + design: { + type: 'figma', + url: 'https://www.figma.com/design/VTztxQ5pWG7ARg8hCX6PfR/Solid-DS-%E2%80%93-Component-Library?node-id=5072-26390' + } + } +}; + +/** + * Navigation items with badges aligned horizontally, showing notification counts and status indicators. + */ +export const NavigationItemWithBadge = { + name: 'Navigation Item with Badge', + render: () => html` + + ` +};