\n```'} lang="mdx" />
### Preview
Allows you to quickly toggle between an example component and it's source code.
```ts
```
```astro
```html
// Error loading file, please report this issue.
```
```
#### Framework Specific Code
To allow for a common preview to have framework specific code, use the `codeReact` and `codeSvelte` slots. For generic code that is not framework specific, such as an Astro component along with JavaScript, use the `code` slot instead.
```astro
```
> TIP: For React or Svelte components, make sure to use [Astro's hydration directives](https://docs.astro.build/en/guides/framework-components/#hydrating-interactive-components).
### API Tables
When placed on a component documentation page, these will automatically fetch and display the type schema for the respective component.
```mdx
## API Reference
```
## Icons
### Lucide
This application implements the [React version](https://lucide.dev/guide/packages/lucide-react) of [Lucide](https://lucide.dev/) for most icons. View
Iconography details.
### Astro Icons
Additionally, this application implements [Astro-Icon](https://www.astroicon.dev/) for local custom SVGs and brand icon.
```ts
```
```tsx
```
- Each icon must be provided in a `.svg` format.
- Icon assets can be located in `/src/icons`
- The `name` attribute should match the icon filename.
- You must restart the Astro server when inserting new icons.