Giscus

A wrapper component for giscus 💎, a comments system powered by GitHub Discussions.

import { Giscus } from '@lobehub/ui/awesome';

Default

Giscus config: https://giscus.app/

APIs

NameDescriptionTypeDefault
className--string--
style--{}--
id--string--
host--string--
repo--unknown(required)
repoId--string(required)
category--string--
categoryId--string--
mapping--"number"|"title"|"url"|"og:title"|"specific"|"pathname"(required)
term--string--
theme--light|GenericString|light_high_contrast|light_protanopia|light_tritanopia|dark|dark_high_contrast|dark_protanopia|dark_tritanopia|dark_dimmed|preferred_color_scheme|transparent_dark|noborder_light|noborder_dark|noborder_gray|cobalt|purple_dark|gruvbox|gruvbox_dark|gruvbox_light|catppuccin_latte|catppuccin_frappe|catppuccin_macchiato|catppuccin_mocha|fro|unknown--
strict--"0"|"1"--
reactionsEnabled--"0"|"1"--
emitMetadata--"0"|"1"--
inputPosition--"top"|"bottom"--
lang--id|ar|be|bg|ca|cs|da|de|en|eo|es|eu|fa|fr|gr|gsw|hbs|he|hu|it|ja|kh|ko|nl|pl|pt|ro|ru|th|tr|vi|uk|uz|zh-CN|zh-Hans|zh-Hant|zh-HK|zh-TW|GenericString--
loading--"lazy"|"eager"--