0.1.3 • Published 6 years ago
react-runic v0.1.3
React-Runic
View the demo here
Summary
An easy way to create some runic text. Apply css styles to customize the runic svgs. There are two modes, either single letters or compound letters. A compound letter would be combining something like "th" into a single glyph.
Currently supported characters are [a-zA-Z ]*
, all other characters are removed.
Usage
import { Runic } from 'react-runic';
const Component extends React.Component {
render() {
return (
<div style={{color: "lightblue"}}>
<Runic
size="35"
text="Hello World"
singleLetters
/>
</div>
);
}
}
Will render the following: