ThemeIcon is a dynamic icon that shows four colors of the current theme in four different circles.
It's the component used by ThemeEditorButton
.
View source
import { ThemeIcon } from '@hypertheme-editor/chakra-ui'
import { ThemeIcon } from '@hypertheme-editor-pro/chakra-ui'
Name | Type | Default | Short Description |
---|---|---|---|
size | 'sm' | 'md' | 'lg' | 'md' | Change size of the button |
This component accepts also SimpleGridProps
from the Chakra UI SimpleGrid
component, read more here.
Change the size of the button.
Currently it accepts 'sm' | 'md' | 'lg'
value.
Here's an example showing the different sizes:
Prev
Next