Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Astro Components #965

Open
robertbaker opened this issue Sep 20, 2024 · 1 comment
Open

Astro Components #965

robertbaker opened this issue Sep 20, 2024 · 1 comment

Comments

@robertbaker
Copy link

Is your feature request related to a problem? Please describe.
Astro is a becoming a popular go-to for static sites. Astro components for flowbite UI and blocks would be great.

Describe the solution you'd like
Create detailed astro components for all the flowbite components and blocks

Describe alternatives you've considered
Making them myself.

Additional context
If I start this PR can I get a free pro license? :)

@marceloverdijk
Copy link

@robertbaker how would you see this? can you give an example?

E.g. a Button component

sometimes you would want:

<button type="button" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800">
  Default
</button>

but another time:

<button type="button" class="py-2.5 px-5 me-2 mb-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700">
  Alternative
</button>

How would such a component look like in Astro?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants