Help

How to use Tailwind CSS with Airtable apps?

Topic Labels: Custom Extensions
Solved
Jump to Solution
1822 2
cancel
Showing results for 
Search instead for 
Did you mean: 
James_Timmins
5 - Automation Enthusiast
5 - Automation Enthusiast

I’m trying to use Tailwind CSS with Airtable, but I’m not quite sure how to properly integrate the CSS. For context, I’m an experienced backend developer but my frontend experience consists of simple HTML and building simple React components. I know little about different frontend build systems.

I know that it’s possible to import Tailwind from the CDN, but my understanding is that requires an HTML view to add the <a> tag that handles the import. Since Airtable doesn’t expose the HTML, I’m unsure if that is possible.

Does anyone know of a very simple guide that walks through creating an Airtable app with Tailwind (or any custom CSS), bundling/building it if necessary, and uploading it to Airtable?

1 Solution

Accepted Solutions
Kamille_Parks
16 - Uranus
16 - Uranus

I haven’t used Tailwind but generally you import CSS either from a string (loadCSSFromString) or from a url (loadCSSFromURLAsync)

See Solution in Thread

2 Replies 2
Kamille_Parks
16 - Uranus
16 - Uranus

I haven’t used Tailwind but generally you import CSS either from a string (loadCSSFromString) or from a url (loadCSSFromURLAsync)

Perfect! Thanks so much @Kamille_Parks!!