اقتباس

Quote

اقتباس بارز في React بعنوان اختياري ومؤلّف وصفة المؤلّف وصورة رمزية، بأحجام وتلوينات. يعرض عنصر blockquote الدلالي.

يستقبل Quote الاقتباس عبر children، مع خيارات quoteTitle وauthor وauthorTitle وavatar. ويعرض عنصر blockquote دلاليًا.

متى تستخدمه

استخدم Quote للشهادات، أو تصريح قيادي في صفحة خدمة، أو مقتطف بارز من سياسة. أبقِ الاقتباسات قصيرة وانسبها إلى قائلها.

للتنبيه الذي ليس اقتباسًا، استخدم InlineAlert.

أمثلة

العنوان والاقتباس والمؤلّف

مع صورة رمزية

Body only, small & untinted

النظام المصمَّم جيدًا هو ما لا تضطر أبدًا للتفكير فيه.

العربية (RTL)

الخصائص

الخصائص التي يعرّفها Quote. سمات العنصر الأصلي تمرّ كما هي.

الخاصيةالنوعالافتراضيالوصف
size"sm" | "lg"
whiteBackgroundboolean
childrenreact.ReactNodeThe quote text - the cited sentence. Rendered inside the <blockquote>.
quoteTitlereact.ReactNodeOptional bold lead-in above the quote (SDGA "Title of quote" - Display xs).
authorreact.ReactNodeAttribution name (SDGA "Author's name" - Text xl, medium).
authorTitlereact.ReactNodeSecondary attribution line - role / brief (SDGA author title - Text lg).
avatarreact.ReactNodeAvatar media (e.g. an <Avatar />), shown 80px at the inline-start of the author row. Decorative (aria-hidden); only rendered alongside textual attribution.
citestringSource URL - set as the machine-readable cite= attribute on the <blockquote>.

إمكانية الوصول

يعرض Quote عنصر <blockquote> الأصلي، فيعلنه قارئ الشاشة اقتباسًا. المؤلّف والصفة نص، والصورة الرمزية زخرفية.

علامات الاقتباس الزخرفية aria-hidden.