Font and Text Selectors
Font family, size, and text formatting selectors
Components Overview
FontFamilySelector
Basic Usage
import { FontFamilySelector } from "@rowsncolumns/spreadsheet";
<FontFamilySelector
value={currentCellFormat?.textFormat?.fontFamily}
onChange={(value) => {
onChangeFormatting(
activeSheetId,
activeCell,
selections,
"textFormat",
{ fontFamily: value }
);
}}
/>Complete Example
Props
Prop
Type
Description
Supported Fonts
FontSizeSelector
Basic Usage
Props
Prop
Type
Description
Common Font Sizes
TextHorizontalAlignSelector
Basic Usage
Props
Prop
Type
Description
Alignment Options
TextVerticalAlignSelector
Basic Usage
Props
Prop
Type
Description
Alignment Options
TextWrapSelector
Basic Usage
Props
Prop
Type
Description
Wrap Options
TextFormatSelector
Basic Usage
Props
Prop
Type
Description
Complete Toolbar Example
Keyboard Shortcuts
Styling
Best Practices
Use Cases
Custom Font Lists
Font Size Presets
Conditional Formatting
Troubleshooting
Selectors Not Showing Current Value
Font Changes Not Applying
Performance Issues
See Also
Last updated