Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

How to use Tailwind CSS with Airtable apps?

Topic Labels: Custom extensions
Solved
Jump to Solution
895 2
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

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!!