# Divider URL: /components/divider Source: https://github.com/daangn/seed-design/blob/dev/docs/content/components/divider.mdx A component that acts as a visual separator, used to clearly divide sections between content. ## Anatomy ![Anatomy image of Divider. Consists of Divider and Inset (Optional).]() Consists of a 1px layer filled with the [`$color.stroke.neutral-muted`](/foundations/design-token/reference/%24color.stroke.neutral-muted) and [`$color.stroke.neutral-subtle`](/foundations/design-token/reference/%24color.stroke.neutral-subtle) color tokens, and can show an inset layout as needed. ## Properties ### Tone ![Divider Tone Property - Neutral Muted, Neutral Subtle]() - **Neutral Muted**: Divides a boundary where the semantic unit changes. Used for divisions that appear only once or twice per screen, such as between sections or the boundary between header and body. - **Neutral Subtle**: Divides between repeating items of the same nature. Used for divisions that appear multiple times per screen, such as list items, table rows, or settings menu items. A different stroke token can be used as needed. ### Orientation Property ![Divider Orientation Property - Horizontal, Vertical]() Use the Horizontal direction in a vertically stacked layout, and the Vertical direction in a horizontally arranged layout. ### Inset Property ![Divider Inset Property]() Provides an Inset property that, instead of taking up the full width, is placed inside the content area with internal margins on both sides equal to the Gutter. This option is provided only in Figma, for design convenience. ## Guidelines ### Choosing the appropriate visual separator ![Inset Divider]() ![Full-width Divider]() ![Example comparison with 8px Gap]() There are three ways to divide content within a screen: Inset Divider, Full-width Divider, and placing a Default layer on top of a Basement layer with an 8px Gap. Each method differs in purpose and context, so choose the appropriate one for the situation. | Division method | Strength | Usage situation | | ---------------------- | -------- | --------------------------------------------------------------------------------- | | **Inset Divider** | Weak | Used to divide content within the same group. | | **Full-width Divider** | Medium | Used to divide groups. Can also be used to divide an action area. | | **8px Gap** | Strong | Used to display content that is significantly distinct from the existing content. | **An 8px Divider does not exist. Implement it by placing a Default Layer on top of a Basement Layer with spacing between them.** ### Do not use unnecessary Dividers ![Example of list items naturally separated without a Divider]() In a repeating layout (e.g. a list), separation between elements occurs naturally, so a Divider may not be needed. Before using a Divider, review whether it is truly necessary. ### Do not show the last Divider Divider is an element placed between content to separate context, so do not show a Divider at the screen's last section or below the last element. ### Vertical Divider ![Example of using Vertical Divider]() A Vertical-direction Divider can be used to separate columns in a horizontal layout. ## Specification Component spec (JSON): /rootage/components/divider.json