Interface icons24 × 24 grid · 2px padding · 2px stroke 16px 20px 24px ink-muted
Interface icons · Appearance
sun
Theme toggle: light.
- File
ba-sun.svg- Weight
- 1 KB
Use it
React
import { Icon } from '@ba-icons/react';
<Icon name="sun" />Vue
<script setup>
import { Icon } from '@ba-icons/vue';
</script>
<template>
<Icon name="sun" />
</template>Astro
---
import { Icon } from '@ba-icons/astro';
---
<Icon name="sun" />HTML
<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.3.0.js" defer></script>
<ba-icon name="sun"></ba-icon>SVG
<svg xmlns="http://www.w3.org/2000/svg" class="ba-icon" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M 12 2 V 4 M 12 20 V 22 M 2 12 H 4 M 20 12 H 22 M 4.9 4.9 L 6.3 6.3 M 17.7 17.7 L 19.1 19.1 M 4.9 19.1 L 6.3 17.7 M 17.7 6.3 L 19.1 4.9"/></svg>New to the packages? Point your project at the registry first.