Divider

A Divider component is a simple UI element used to separate content within a layout, creating visual distinction between sections. It helps enhance the organization and readability of the interface by providing clear boundaries between different elements, such as text blocks, images, or other components. Dividers can be styled in various ways (solid, dashed, or dotted) and can vary in thickness and color to match the overall design of the application.
# Demo

Basic Horizontal Dividers

Simple horizontal dividers to separate content sections.

Content above the divider

Content below the divider

Section 1

This is the first section with some content to demonstrate the divider.

Section 2

This is the second section separated by a horizontal divider.

Dividers with Text

Dividers with text labels for better context.

Choose your preferred login method:

OR

Free Plan

Basic features included

UPGRADE

Pro Plan

All features included

Recent Activity

TODAY

• Updated profile information

• Completed onboarding

YESTERDAY

• Created new project

• Invited team members

Vertical Dividers

Vertical dividers for inline content separation.

Home
About
Contact
Published: March 15, 2024
Author: John Doe
5 min read

Custom Styled Dividers

Dividers with custom colors and styling.

Success section

Operation completed successfully

Warning section

Please review the following items

Error section

An error occurred during processing

Thick divider

Content with thick separator

Dashed divider

Content with dashed separator

Dotted divider

Content with dotted separator

Dividers with Icons

Dividers enhanced with icons for visual appeal.

Customer Reviews

5 STARS

Amazing product! Highly recommended.

Favorite Items

Items you've marked as favorites

Wishlist

Items you want to buy later

Account Settings

• Profile information

• Privacy settings

• Notification preferences

Form Section Dividers

Dividers to organize form sections clearly.

User Registration

CONTACT INFO

Navigation Dividers

Dividers in navigation menus and breadcrumbs.

Dashboard
Analytics
Reports

Content Layout Dividers

Dividers for organizing complex content layouts.

Article Title

March 15, 2024

This is the article excerpt that gives readers a preview of the content...

By John Doe
5 min read
Technology

Main Content

This is the main content area with detailed information and primary content.

Additional content continues here with more detailed information.

Sidebar

Related Article 1

Related Article 2

Related Article 3

Spacing Examples

Different spacing options for dividers.

Tight spacing

Content above

Content below

Normal spacing

Content above

Content below

Loose spacing

Content above

Content below

# Usage
# Attributes
NameTypeDefaultDetails
childrenReact.ReactNodeOptionalContent to display in the divider.
childrenClassNamestring' 'You can customise children by passing tailwind classes.
separatorClassNamestring' 'You can customise separator by passing tailwind classes.