Skip to content

ZSpacer

Spacer component from zurto-ui.

Preview

Before
After

Import

typescript
import { ZSpacer } from "zurto-ui";

Props

PropTypeDefaultDescription
childrenReactNode-Component content
classNamestring-Additional CSS classes

Sizes

tsx
<ZSpacer size="sm">Small</ZSpacer>
<ZSpacer size="md">Medium</ZSpacer>
<ZSpacer size="lg">Large</ZSpacer>

Accessibility

  • ✅ Proper ARIA attributes included
  • ✅ Keyboard navigation support
  • ✅ Screen reader friendly
  • ✅ Focus visible indicators

Released under the MIT License.