focus
js
import { createIcons, icons } from 'lucide';
createIcons({ icons });
document.body.append('<i data-lucide="focus"></i>');
tsx
import { Focus } from 'lucide-react';
const App = () => {
return (
<Focus />
);
};
export default App;
vue
<script setup>
import { Focus } from 'lucide-vue-next';
</script>
<template>
<Focus />
</template>
svelte
<script>
import { Focus } from 'lucide-svelte';
</script>
<Focus />
tsx
import { Focus } from 'lucide-preact';
const App = () => {
return (
<Focus />
);
};
export default App;
tsx
import { Focus } from 'lucide-solid';
const App = () => {
return (
<Focus />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Focus } from 'lucide-angular';
@NgModule({
imports: [
LucideAngularModule.pick({ Focus })
],
})
// app.component.html
<lucide-icon name="focus"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-focus"></div>
See this icon in action
Bug
Feature
Focus
112
8
11