HomePaymentsNo-codeDevelopersContribute
Safepay Home PageLive DashboardTest Dashboard

Monospace


The MONOSPACE component is used to render text in a monospaced font, typically used for displaying code, technical content, or other data where uniform spacing is crucial. This styling ensures that each character occupies the same amount of horizontal space, enhancing readability for technical documentation or code snippets.

Usage

MONOSPACE Component Usage
import React from 'react';
import { MONOSPACE } from '~/ui/components/Text';

export default function App() {
  return (
    <div>
      <MONOSPACE>Example: function test() { return true; }</MONOSPACE>
    </div>
  );
}

Rendered Example

Example: function test() { return true }

Props

The MONOSPACE component accepts all standard HTML text attributes, allowing for extensive customization in how monospaced text is integrated and styled within content.