Using JS Code Editor

You can create or update the layout of the list view using JavaScript Code Editor if you have any custom JS code. (Screenshot-1)

 

By clicking on the Code Editor, an editor will pop up where you can edit/paste your JS code. Once you edit/paste the JS code, click on the Save button and Publish the List builder record. (Screenshot-2)

 

You can Preview the List builder to check how it looks. (Screenshot-3)