← DOCS
fantasy

AncientScroll

Ancient scroll text container with aged paper, flowing ink, and wax seal.

npx chaos add ancient-scroll

PREVIEW

Ancient wisdom...

USAGE

case 'glass-button': return ; case 'neon-glow': return ; case 'floating-button': return ;
import { AncientScroll } from '@oalacea/chaosui/text/ancient-scroll';

<AncientScroll>
  In the time of old, when magic flowed freely...
</AncientScroll>
<AncientScroll decay="crumbling" inkColor="gold">
  The forbidden tome speaks of...
</AncientScroll>

PROPS

PropTypeDefault
childrenThe text to display on the scroll
string-
decayLevel of paper decay
"pristine" | "aged" | "weathered" | "crumbling""aged"
inkColorInk color style
"black" | "brown" | "red" | "gold""brown"
flowingInkEnable flowing ink animation
booleantrue
showTextureShow aged paper texture
booleantrue

CSS VARIABLES

--ink-color#4a3728Ink color