Lucide V1 发布了!🚀
你现在浏览的是 v1 站点,如需查看 v0,请前往 v0 站点

Skip to content

coconut

lab

segments • milk • smoothie • cocktail • piña colada • tropical • beach bar • holiday • vacation • sweet • creamy • snack • ingredient • cooking • cookery • kitchen • cuisine • eating • healthy • nutrition • diet

Contributors:

danielbayley
html
<script>
import { createIcons } from 'lucide';
import { coconut } from '@lucide/lab';

createIcons({
  icons: {
    coconut
  }
});
</script>

<i data-lucide="coconut"></i>  
tsx
import { Icon } from 'lucide-react';
import { coconut } from '@lucide/lab';

const App = () => {
  return (
    <Icon iconNode={coconut} />
  );
};

export default App;
vue
<script setup>
import { Icon } from 'lucide-vue-next';
import { coconut } from '@lucide/lab';
</script>

<template>
  <Icon :iconNode="coconut" />
</template>
svelte
<script>
import { Icon } from 'lucide-svelte';
import { coconut } from '@lucide/lab';
</script>

<Icon iconNode={coconut} />
tsx
import { Icon } from 'lucide-preact';
import { coconut } from '@lucide/lab';

const App = () => {
  return (
    <Icon iconNode={coconut} />
  );
};

export default App;
tsx
import { Icon } from 'lucide-solid';
import { coconut } from '@lucide/lab';

const App = () => {
  return (
    <Icon iconNode={coconut} />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule } from 'lucide-angular';
import { coconut } from '@lucide/lab';

@NgModule({
  imports: [
    LucideAngularModule.pick({ Coconut: coconut })
  ],
})

// app.component.html
<lucide-icon name="Coconut"></lucide-icon>

看看这个图标的实际效果

错误
功能
Coconut
112
8
11