---
layout: '@/layouts/Doc.astro'
title: Separator
---
import Example from '@/components/Example.astro'
import separatorStyle from '@webtui/css/components/separator.css?raw'
import boxStyle from '@webtui/css/utils/box.css?raw'
A horizontal or vertical separator
the lazy dog
`} /> ## Import ```css @import '@webtui/css/components/separator.css'; ``` ## Usage ```html ``` If `direction-` is not specified, separators are horizontal by default. ## Examples ### Verticalthe yucky
fox
Default
Separator
Bisecting
Separator
Default
Separator
Bisecting
Separator
eats the lazy fox
`} /> ### Extending To extend the Separator stylesheet, define a CSS rule on the `components` layer ```css @layer components { input[type='checkbox'] { /* ... */ } } ``` ### Scope - All elements with the `is-~="separator"` selector ```css input[type='checkbox'] { /* ... */ } ```