Skip to content

Commit

Permalink
Add Stack stopgap page (#764)
Browse files Browse the repository at this point in the history
* stack wip

* add coming soon

* cleanup

* fix src

* fix description
  • Loading branch information
langermank authored Apr 23, 2024
1 parent 8c11247 commit b66625e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions content/components/stack.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Stack
status: Experimental
description: Stack is a layout component that creates responsive horizontal and vertical flows.
reactId: stack
---

import ComponentLayout from '~/src/layouts/component-layout'
export default ComponentLayout

<Note variant="warning">
Stack interface guidelines coming soon!
</Note>

## Anatomy

<img
width="960"
alt="Example of the Stack component in use showing a text input next to a group of buttons. The stack is shown both horizontally and vertically."
src="https://github.com/primer/primitives/assets/18661030/5b8649e0-1c3e-4845-abb1-c339b628d056"
/>
2 changes: 2 additions & 0 deletions src/@primer/gatsby-theme-doctocat/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@
url: /components/spinner
- title: Split page layout
url: /components/split-page-layout
- title: Stack
url: /components/stack
- title: State label
url: /components/state-label
- title: Subnav
Expand Down

0 comments on commit b66625e

Please sign in to comment.