BaseIconBox

Rounded box

Icon boxes can have different sizes and shapes. Use the rounded shape prop value to change the shape of the box. You can also use the size prop to change the size of the box.

Show code

Curved box

Icon boxes can have different sizes and shapes. Use the curved shape prop value to change the shape of the box. You can also use the size prop to change the size of the box.

Show code

Circle box

Icon boxes can have different sizes and shapes. Use the circle shape prop value to change the shape of the box. You can also use the size prop to change the size of the box.

Show code

Solid colors

Icon boxes can have different colors. Use the flavor and the color props to change the color and style of the box.

Show code

Custom solid colors

Icon boxes can have different colors. Use Tailwind CSS utility classes to create your own solid colors.

Show code

Pastel colors

Icon boxes can have different colors. Use the flavor and the color props to change the color and style of the box.

Show code

Custom pastel colors

Icon boxes can have different colors. Use Tailwind CSS utility classes to create your own pastel colors.

Show code

Outline colors

Icon boxes can have different colors. Use the flavor and the color props to change the color and style of the box.

Show code

Custom outline colors

Icon boxes can have different colors. Use Tailwind CSS utility classes to create your own outline colors.

Show code

Svg masks

Icon boxes can be displayed using SVG masks, bringing fancier shapes to your UI. Keep in mind that the mask prop is only available for the straight shape.

Using svg masks will hide any overflow from your Icon box, making it unable to properly display tooltips or other attached content.
Show code

Box shadows

Icon boxes can be have different color shadows. Use Tailwind CSS utility classes to create your own shadow colors.

Show code
size
The size of the icon.
Show example
color
The color of the box. Can be 'default', 'primary', 'info', 'success', 'warning', or 'danger'
Show example
shape
The shape of the icon.
Show example
mask
Applies an svg mask from the available presets. (needs shape to be set to `straight`).
Show example
flavor
The flavor of the box. Can be 'solid', 'outline', or 'pastel'.
Show example
bordered
Whether the icon is bordered.
Show example
#default
Show example