Text Color
Use color
prop to control the text color of an element.
💡
See the colors page for a list of all available colors.
#
Documentation
#
#
Usage
#
import { Box } from "@optiaxiom/react";
import { Canvas } from "../Canvas";
export function App() {
return (
<Canvas>
<Box color="fg.brand">The quick brown fox jumps over the lazy dog.</Box>
</Canvas>
);
}