Interactive typography studio and live font switcher supporting 34 curated Google Fonts, instant live previews, global persistence, and sleek modal controls.
Click to open the Typography Studio and test 30+ Google fonts live.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "fixed" | "inline" | "fixed" | Trigger placement style: 'fixed' docks as a floating island pill at the bottom-left screen edge, while 'inline' embeds in normal document flow. |
defaultFont | string | "Inter" | Default fallback Google Font family to load initially. |
defaultPreviewText | string | "The quick brown fox jumps over the lazy dog." | Initial custom preview sentence rendered in the modal preview pane. |
showTrigger | boolean | true | Whether to render the trigger button automatically alongside the modal. |
className | string | "" | Custom CSS classes applied to the trigger wrapper element. |