IconFrame
proIconFrame is a container for displaying icons with consistent styling, supporting default, thick, layered, and muted visual variants.
Installation
Add this component with the NateUI CLI.
Examples
Variants
Custom Size
API
| Prop | Description | Type | Default |
|---|---|---|---|
variant | Visual style variant of the icon frame. | 'default' | 'elavated' | 'thick' | 'layered' | 'muted' | 'default' |
size | Width and height of the icon frame in pixels. | number | 40 |
children | Icon or content to display inside the frame. | ReactNode | — |
className | Additional CSS classes to apply to the frame. | string | — |