Skip to content

Emphasis

Stresses a word or phrase in running text, changing how the sentence reads. For importance rather than stress, use Strong.

Invite people to the workspace, not to a single project.

Code
demo.tsx
import {Emphasis, Text} from '@earendil-works/elanor-react';

export default function EmphasisDemo() {
  return (
    <Text>
      Invite people to the workspace, <Emphasis>not</Emphasis> to a single project.
    </Text>
  );
}

Usage

import {Emphasis} from '@earendil-works/elanor-react';

<Emphasis>not</Emphasis>;

Emphasis renders an em element in italics. Use it sparingly; for titles of works or terms in another language, use cite or i instead.

API

Emphasis

Stressed emphasis within running text.

Renders <em>. Accepts its HTML attributes and ref.