Customisation
Anvil provides several ways to customise your app’s appearance and behaviour. You can apply colour schemes and CSS to control how your app looks, build your own reusable components, add your own asset files, or interact directly with JavaScript from the Anvil Editor.
Colour Schemes
Many Anvil themes come with built-in colour schemes which you can use or modify to change the look of your app.
Custom Components
You can create your own reusable component types by using a Form as a custom component. Custom components can appear in the Toolbox alongside built-in Anvil components, with configurable properties and events. You can build them from a standard Anvil Form, or from scratch using HTML.
Assets
You can add your own files to your app, such as HTML files, CSS, JavaScript or images. Assets can be referenced from your theme, HTML templates, or directly using their URL.
Using CSS
Anvil themes are built on HTML and CSS files you can edit directly. You can define Roles, write your own CSS rules, and customise specific UI elements.
Using JavaScript
Client-side code in Anvil is compiled to JavaScript and runs in the browser. This means you can interact with JavaScript libraries from your Python code, or write JavaScript directly.
Do you still have questions?
Our Community Forum is full of helpful information and Anvil experts.