ValyroUI English version

Type Specimen

Образец шрифтов: крупный знак и пары гарнитура — роль. Pro · Лендинги и бренд › Бренд и дизайн-система

Установка

npx valyro-cli@latest login
npx valyro-cli@latest add type-specimen
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { TypeSpecimen } from 'valyro-ui-pro';

Пропсы

PropTypeDefault
family *stringCSS font-family of the specimen: the large sample, the weights, the characters and the scale.
samplestring'Aa'Large sample glyphs. Default "Aa".
nameReactNodeTypeface name beside the sample: "Geist".
metaReactNodeA line under the name: classification, designer, licence.
stylesTypeStyle[][]Typefaces of the system, listed beside the sample (a pairing: headings, body, code).
weightnumber500Weight of the large sample. Default 500.
size'md' | 'lg' | 'xl''lg'Sample size. Default lg.
textReactNodeA paragraph set in the typeface, e.g. a pangram. Also the default line of the scale.
weightsnumber[][]Weights shown side by side, e.g. [400, 500, 600, 700].
glyphsstringCharacter set: the alphabet, digits, punctuation.
scaleTypeScaleStep[][]Type scale, largest first.
headingLevel2 | 3 | 4 | 5 | 63Heading level of the section titles (weights, characters, scale). Default 3.
labelsPartial<TypeSpecimenLabels>Overrides for the built-in English text; keys left out keep their defaults.

Похожие компоненты

  • Theme Customizer — Настройка темы: пресеты, цвета, радиус, шрифт и живое превью
  • Color Token — Цветовой токен: плашка или строка с переменной, значением и копированием
  • Template Card — Карточка шаблона: живая миниатюра, бейдж, описание и ссылки
  • Hero Section — Первый экран лендинга
  • Feature Grid — Сетка преимуществ
  • Bento Grid — Бенто-сетка карточек разной ширины и высоты с адаптивом
  • Logo Cloud — Логотипы клиентов
  • Pricing Table — Тарифные планы
  • Comparison Table — Сравнение продуктов
  • Testimonials — Отзывы клиентов
  • FAQ Section — Частые вопросы
  • Award Badge — Награда с лавровым венком, звёздами и подписью

Назад: Color Token · Далее: Template Card · Весь раздел «Лендинги и бренд»