Styling
Learn how to customize your widget’s appearance and content.
Overview
Pointer’s UI is fully customizable through the PointerProvider
component. You can customize the theme colors, branding elements, and content to match your application’s design system.
Theme customization
Customize the visual appearance of the widget by configuring colors and styling:
Branding
Customize branding elements to match your company’s identity:
The logo
prop should be a link to your company’s logo.
The triggerIcon
can be one of: 'sparkles'
, 'help'
, 'message'
, or 'zap'
.
Content
Customize the widget’s text content and messaging:
Link buttons
Customize up to three link buttons that appear at the top of the widget. These buttons can be used to direct users to important resources like documentation, community, or contact information:
Each link button is optional and has three customizable properties:
text
: The button’s labelicon
: A Lucide icon name (e.g., ‘users’, ‘book’, ‘mail’)url
: The URL to open when clicked
If not provided, the buttons will use default values pointing to Pointer’s resources.
Complete example
Here’s a complete example showing all customization options:
All customization properties are optional. If not provided, Pointer will use its default theme and content settings.