Overview
Visual separator for grouping.Import
Usage
Live Preview
Run Locally
npm run tsx:core-gallery
Props
- orientation?: ‘horizontal’ | ‘vertical’ — Default horizontal.
- text?: string — Optional centered text.
- color?: string — Foreground style.
- style?: ‘solid’ | ‘dashed’ | ‘dotted’ — Visual style (simple simulation).
- char?: string — Back-compat; custom line character.
- BaseProps: width/height to control span.
Notes
- For vertical dividers set
heightandorientation='vertical'.
Installation
Import
Quick Start
Production Examples
Best Practices
- Preferisci Divider orizzontali come separatori discreti; evita l’overuse.
