Skip to content
Alea0.1

Typography

Blockquote and List

A quotation with its author, and styled lists with bullets, numbers or checks.

Ant Design: Typography

import { Blockquote, List } from '@alea/ui';

Examples

Quote and lists

A blockquote with its author, and three list markers.

Design systems are for people, not for screenshots.
Ale Vasquez
  • Tokens for every color
  • Dark and light
  • Tested with axe
  1. Install
  2. Add the stylesheet
  3. Wrap the app in ThemeProvider

Props

Blockquote props

A quotation with its author (Mantine Blockquote).

PropTypeDefaultDescription
citeReactNode-Who said it.
classNamestring-
sourcestring-The source URL (sets cite on the quote).

List props

A styled list with bullets, numbers or checks (Mantine List, Chakra List).

PropTypeDefaultDescription
itemsrequiredReactNode[]-The items.
classNamestring-
marker"number" | "none" | "bullet" | "check"'bullet'bullet (default), number, check or none.
spacing"sm" | "md"'md'Space between items: sm or md (default).

Accessibility

  • Real blockquote, ul and ol elements; check marks are decorative and the list still reads as a list.

Do and don't

Do

  • Use the check marker for feature lists.

Don't

  • Don't use a blockquote just for indentation.
Tested with axe, keyboard and screen reader roles