Back to skills
SKILL.md
Divider
ASecurityVisual separator line. Renders as `<hr>`. Supports horizontal/vertical orientation and variant colors.
- 4 stars
- 0 votes
- 0 copies
- 4 views
- Added May 27, 2026
Security analysis
100/100npx -y skills add reaviz/skills --skill divider --agent claude-codeAre you the author of Divider?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/reaviz-divider)# Divider
Visual separator line. Renders as `<hr>`. Supports horizontal/vertical orientation and variant colors.
## Import
```tsx
import { Divider } from 'reablocks';
```
## Divider Props
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `orientation` | `'horizontal' \| 'vertical'` | `'horizontal'` | Divider direction |
| `variant` | `'primary' \| 'secondary'` | `'primary'` | Color variant |
| `disableMargins` | `boolean` | `false` | Remove default margins |
| `className` | `string` | — | Additional CSS classes |
| `style` | `CSSProperties` | — | Inline styles |
| `theme` | `DividerTheme` | — | Per-instance theme override |
## Basic Usage
```tsx
<Divider />
```
## Vertical
```tsx
<div className="flex h-16 items-center gap-4">
<span>Left</span>
<Divider orientation="vertical" />
<span>Right</span>
</div>
```
## Variants
```tsx
<Divider variant="primary" /> {/* Solid bg-surface */}
<Divider variant="secondary" /> {/* Gradient via-blue-500 */}
```
## DividerTheme Interface
```typescript
interface DividerTheme {
base: string; // Base (border-none)
orientation: {
horizontal: string; // h-px, w-full, my-2.5
vertical: string; // w-px, h-full, mx-2.5
};
variant: {
primary: string; // Solid color
secondary: string; // Gradient
};
disableMargins: string; // No margins
}
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.