MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / SunIcon

Function SunIcon

src/components/ThemeToggle.tsx:5–15  ·  view source on GitHub ↗
(props: React.ComponentPropsWithoutRef<'svg'>)

Source from the content-addressed store, hash-verified

3import { create } from 'zustand'
4
5function SunIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
6 return (
7 <svg viewBox="0 0 20 20" fill="none" aria-hidden="true" {...props}>
8 <path d="M12.5 10a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z" />
9 <path
10 strokeLinecap="round"
11 d="M10 5.5v-1M13.182 6.818l.707-.707M14.5 10h1M13.182 13.182l.707.707M10 15.5v-1M6.11 13.889l.708-.707M4.5 10h1M6.11 6.111l.708.707"
12 />
13 </svg>
14 )
15}
16
17function MoonIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
18 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected