Skip to content

Typography

Text

The main component for handling typography in our interfaces. Renders as a span tag by default.

jsx
import { Text } from '@semcore/ui/typography';
<Text />;

NSText.Props

& & ( {formatTags?: boolean; ellipsis?: never; ellipsisProps?: never; hint?: never; hintProps?: never } | ( {formatTags?: never } & & ))

List

A list rendered with the ul tag. You can set a custom marker for all list items.

jsx
import { List } from '@semcore/ui/typography';
<List />;

INFO

The size property of this component only accepts the values 100, 200, and 300.

NSList.Props

& {...}
NameTypeDescription
marker Marker of the entire list

List.Item

A list item rendered with the li tag. You can set a custom marker and customize the content using <List.Item.Content />.

jsx
import { List } from '@semcore/ui/typography';
<List.Item />;
<List.Item.Content />;

NSList.Item.Props

& {...}
NameTypeDescription
marker Individual marker of a list item

NSList.Item.Content.Props

Blockquote

A component for displaying quoted text.

jsx
import { Blockquote } from '@semcore/ui/typography';
<Blockquote />;

NSBlockquote.Props

& {...}
NameTypeDescription
author Source of the quote

Released under the MIT License.

Released under the MIT License.