MiHCM
layout/@mihcm/ui·v0.21.0·stable

Separator

Visual divider. decorative (default) is hidden from screen readers; pass decorative={false} for semantic boundaries.

Props

The full prop API for Separator. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
orientation'horizontal' | 'vertical''horizontal'Axis. Vertical separators need a sized parent (height for horizontal flex).0.3.0
decorativebooleantrueWhen false, sets `role="separator"` and `aria-orientation`.0.3.0

Import

import { Separator } from '@mihcm/ui/Separator';