Documentation Index
Fetch the complete documentation index at: https://anvil.servicetitan.com/llms.txt
Use this file to discover all available pages before exploring further.
Common Examples
Basic Usage
Default Atlas branding:import { AtlasHeader } from "@servicetitan/anvil2-ext-atlas";
function DefaultHeader() {
return <AtlasHeader />;
}
Custom Branding
Use custom icon and assistant name:import { AtlasHeader } from "@servicetitan/anvil2-ext-atlas";
import CustomLogo from "./custom-logo.svg";
function CustomHeader() {
return (
<AtlasHeader
svgIcon={CustomLogo}
assistant="Custom Assistant"
/>
);
}
With Custom Styling
Apply custom CSS class:import { AtlasHeader } from "@servicetitan/anvil2-ext-atlas";
function StyledHeader() {
return (
<AtlasHeader
assistant="Atlas"
className="custom-header-class"
/>
);
}