Skip to main content

Icon

Vector icon component powered by Lucide icons. Themeable and accessible with 1000+ icons available.

Import​

import { Icon, CheckIcon, InfoIcon, CancelIcon } from '@scaffald/ui';

Basic Usage​

Live Preview
<ThemeProvider initialTheme="light">
<Row gap={16} style={{alignItems: 'center'}}>
  <CheckIcon size={24} />
  <InfoIcon size={24} />
  <CancelIcon size={24} />
</Row>
</ThemeProvider>

Props​

See the TypeScript definitions for the complete props API.

Common Props​

  • size - Icon size in pixels
  • color - Icon color (uses theme tokens)

Accessibility​

  • Screen reader compatible with accessibilityLabel
  • Decorative icons hidden from screen readers
  • Button - Buttons with icon support

Changelog​

See GitHub Releases for version history.