Dasar UI Library

Icon

Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat cupiditate odit ipsa quaerat blanditiis vel eveniet, aut esse laudantium similique quo nobis odio nostrum ipsam consequatur. Magni odit maiores nesciunt?
Basic

API Reference

Property
Type
Default
Description
namestring '' The exact key of the icon registered in ICON_REGISTRY to render.
sizeDasarIconSizeType 'md' Controls the size of the icon. Accepts scale tokens (e.g., 'sm', 'md', 'lg') or a custom number (rendered in pixels).
colorstring 'currentColor' Sets the stroke color of the SVG. Inherits the surrounding text color by default.
strokenumber 2 Defines the stroke-width (thickness) of the SVG paths.
fluidboolean false Strips fixed sizing constraints, allowing the icon to fill 100% of its container.