Separator overview
Separator wraps the headless divider contract with default line styling while keeping the surface intentionally small: orientation plus decorative semantics.
Imports
Import the wrapper when you want the built-in line styling and the same compact API.
Component import
ts
import { TngSeparatorComponent } from '@tailng-ui/components';
Separator variants
The same horizontal and vertical wrapper rendered with local CSS or a Tailwind utility shell.
Plain CSS separator stack
Overview Incidents Alerts
Apply wrapper-level spacing and let the component provide the line contract.
Tailwind separator stack
Deployments Environments Audit trail
Tailwind utilities handle shell spacing while separator remains the same component.
Accessibility baseline
- Keep
decorativetrue for purely visual separators. - Set
[decorative]="false"for structural separators that should be announced. - Use
orientation="vertical"only when the line is visually vertical.