diff --git a/website/docs/utilities/text.mdx b/website/docs/utilities/text.mdx new file mode 100644 index 00000000..672c29ec --- /dev/null +++ b/website/docs/utilities/text.mdx @@ -0,0 +1,62 @@ +# Text + +## Alignment + +```html +
Left aligned text
+Center aligned text
+Right aligned text
+Justified text
+``` + +## Break + +```html +This is a very long text that will break into multiple lines if there is not enough space to display it in a single line on the screen. Specifically, this text will break at the a word boundary so it will not break in the middle of a word.
+``` + +## Color + +```html +Primary Text
+Secondary Text
+Success Text
+Info Text
+Warning Text
+Danger Text
+``` + +## Italic + +```html +Italic Text
+``` + +## No Decoration + +```html +Text with no decoration
+``` + +## Transform + +```html +uppercase text
+LOWERCASE TEXT
+capitalize text
+``` + +## Truncate + +```html +This is a very long text that will be truncated if there is not enough space to display it in a single line on the screen. It's truncated by adding an ellipsis at the end of the text.
+``` + +## Weight + +```html +Bold Text
+Semibold Text
+Normal Text
+Light Text
+``` \ No newline at end of file