Docs
Icon Container
Icon Container
A customizable container of icons.
Installation
Run the following command to install button.tsx
pnpm dlx shadcn@latest add "https://akasha-ui.pages.dev/r/styles/default/icon-container.json"
Usage
import { IconContainer } from "<path-to-ui-components>/icon-container";<IconContainer>
<Icon className="w-full h-full p-2" />
</IconContainer>Props
| Name | Type | Description |
|---|---|---|
| variant | round or square | Component variants. |
| size | xs, sm, md, lg or xl | Component sizes. |
| showNotificationDot | boolean | Marks if a notification dot should be displayed. |
The default value of variant is round and that of size is md.