Bionic Mode:

Off

On

React Bionic Reading

A react package that helps apply bionic reading / half bold formatting to your text

Install Dependencies
npm install react-bionic-reading

Components

Bionic Text
bionic-text.tsx
<BionicText text="Hello bionic reading lovers" />
Hello bionic reading lovers
Bionic Block
bionic-block.tsx
<BionicBlock>
  <h1>Here is my Bionic Block</h1>
  <p>The above is an example of the Bionic Block component</p>
</BionicBlock>

Here is my Bionic Block

The above is an example of the Bionic Block component

Hooks

useBionic

The useBionic hook can be used to globally toggle bionic mode.

bionic-switch.tsx
const BionicSwitch = () => {
  const { bionicMode, setBionicMode } = useBionic();

  return (
    <div>
      <p>Bionic Mode: </p>
      <p>Off</p>
      <Switch
        onCheckedChange={(checked) => setBionicMode(checked)}
        checked={bionicMode}
      />
      <p>On</p>
    </div>
  );
};

export default BionicSwitch;

Bionic Mode:

Off

On

Explore here