File: code.md | Updated: 11/15/2025
Return to top
source • programming • html • xml
VanillaReactVueSveltePreactSolidAngularIcon font
js
import { createIcons, icons } from 'lucide';
createIcons({ icons });
document.body.append('<i data-lucide="code"></i>');
tsx
import { Code } from 'lucide-react';
const App = () => {
return (
<Code />
);
};
export default App;
vue
<script setup>
import { Code } from 'lucide-vue-next';
</script>
<template>
<Code />
</template>
svelte
<script>
import { Code } from 'lucide-svelte';
</script>
<Code />
tsx
import { Code } from 'lucide-preact';
const App = () => {
return (
<Code />
);
};
export default App;
tsx
import { Code } from 'lucide-solid';
const App = () => {
return (
<Code />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Code } from 'lucide-angular';
@NgModule({
imports: [\
LucideAngularModule.pick({ Code })\
],
})
// app.component.html
<lucide-icon name="code"></lucide-icon>
html
<div class="icon-code"></div>
CodeCancel
Bug
Feature
Code
Documents Readme Code 12
112
8
11
2
code-xml
file-code-corner
file-code
folder-code
message-circle-code
message-square-code
qr-code
scan-qr-code
search-code
square-code
square-dashed-bottom-code