Skip to content

UI component library for Svelte based on Apple's Human Interface design language.

Notifications You must be signed in to change notification settings

Azxyc/apple-svelte

 
 

Repository files navigation

apple-svelte

apple-svelte is a component library for Svelte based on Apple's Human Interface design language. To get started with apple-svelte, check out the docs.

Installation

Open a Svelte project and enter the following command into your terminal:

npm i apple-svelte

Include Material Symbols or whatever symbol library you're using into your HTML head and import apple-svelte's stylesheet, as well as the components you need.

<script>
    import { Button } from 'apple-svelte';
</script>

<svelte:head>
    <link rel="stylesheet" href="node_modules/apple-svelte/dist/styles.css" />
    <link
        rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"
    />
</svelte:head>

If the above syntax doesn't work, you can copy the stylesheet and paste it into your project.

To learn how to customize apple-svelte, check out the docs.

About

UI component library for Svelte based on Apple's Human Interface design language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 84.1%
  • CSS 11.5%
  • JavaScript 4.1%
  • HTML 0.3%