Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(icons): support Material Symbols #20798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Dec 23, 2024

Description

TODO:

  • resolve missing symbols:
    • filled star
    • carousel delimiter

resolves #20053

Markup:

Playground

pnpm i -D @material-symbols/font-400
import '@material-symbols/font-400/outlined.css'
import { aliases, mat } from 'vuetify/iconsets/mat'

import { createVuetify } from 'vuetify'

const vuetify = createVuetify({
  icons: {
    defaultSet: 'mat',
    aliases,
    sets: { mat('outlined') },
  },
})

// vue.use(vuetify)
<template>
  <v-container class="d-flex flex-wrap ga-3" width="600">
    <v-btn variant='outlined' v-for='ic in Object.values(aliases)' :key='ic' :icon='ic' />
  </v-container>
</template>

<script lang="ts" setup>
import { aliases } from 'vuetify/iconsets/mat'
</script>

@J-Sek J-Sek self-assigned this Dec 23, 2024
@J-Sek J-Sek added E: icons Icons composable T: feature A new feature C: VIcon VIcon Service: Icons labels Dec 23, 2024
@J-Sek J-Sek force-pushed the feature/material-symbols branch from 678c9d1 to 1e9582a Compare December 23, 2024 17:10
@J-Sek J-Sek force-pushed the feature/material-symbols branch from 1e9582a to 424a68f Compare December 23, 2024 20:12
@J-Sek J-Sek marked this pull request as ready for review December 23, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VIcon VIcon E: icons Icons composable Service: Icons T: feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Support for Material Symbols
1 participant