Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
[appSeparator]
Examples
Default
Loading...
In A List
Loading...
Vertical
Loading...
API Reference
[appSeparator]
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | Sets the visual direction of the separator. |
decorative | boolean | true | Uses role="none"; set to false for a semantic separator. |
When decorative is false, the directive applies role="separator" and sets aria-orientation
to the current orientation.
Utilities
| Export | Angular API |
|---|---|
SeparatorImports | Readonly collection containing SeparatorDirective for importing. |
Angular
React
Solid
Svelte
Vue