Skip to content
العربية
Text

Display

Large page and section titles. Arabic gets weight 700, no negative tracking and a taller line by itself; do not add leading-* or tracking-*.

import { Display } from "@percentsa/ui";

Examples

We build

Software studio

Design. Build. Run.

Code
export function DisplayExample() {
  const t = useT();
  return (
    <Stack gap={6}>
      <Display size="xl">{t("We build", "نبني")}</Display>
      <Display as="h2" size="lg">{t("Software studio", "استوديو برمجيات")}</Display>
      <Display as="h3" size="md">{t("Design. Build. Run.", "صمّم. ابنِ. شغّل.")}</Display>
    </Stack>
  );
}