Skip to main content

Divider

Use cases:

  • Used anywhere a horizontal rule might be used.

Example

First block of content
Second block of content

Declaration

<rapid-divider></rapid-divider>

Usage

@customElement({
name: 'my-element',
template: html`
<rapid-divider></rapid-divider>
`,
})
export class MyElement extends GenesisElement {
}

API

Property and attribute binding examples for Genesis Component syntax. Closing tag omitted.

Attributes

NameTypeDescriptionExample
orientation"horizontal" | "vertical"The orientation of the divider. Default: horizontal
<rapid-divider orientation="vertical">
role"separator" | "presentation"Separator - The divider semantically separates content, Presentation - The divider has no semantic value and is for visual presentation only. Default: separator
<rapid-divider orientation="vertical">

Properties

This component doesn't have any properties.

Slots

This component doesn't have any slots.

Parts

This component doesn't have any parts.

Events fired

This component doesn't fire any events.

Events listened to

This component doesn't listen to any events.