designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

Divide button into 2 components in Figma (Button and IconButton)

Open mrosvik opened this issue 1 year ago • 3 comments

We need a larger icon inside the buttons that only has icon and no text. We should separate the button-component with a separate component for IconButton (buttons with only icon). This will also make the button component simpler to maintain in Figma.

Edit: I kode kan det fortsatt være Button. Vi har enkelt måte å detektere når ikonet er satt og om det kun er et ikon. Vi kan skille dem som to komponenter under Button-siden i Figma.

mrosvik avatar Dec 19 '23 10:12 mrosvik