Coder Social home page Coder Social logo

astro-components's Introduction

๐Ÿš€ Astro Components

Astro Components is a collection of all the reusable components I coded over the years for my Astro landing sites using Tailwind CSS and shadcn/ui components.


License Maintained Contributions Welcome


Table of Contents

Getting Started

Astro Components are ready to copy and paste into your Astro project. You can use them as they are or customize them to your needs.

โš ๏ธ Some components need installation of dependencies, so make sure to read the component's README file before using it.

Structure

Astro Components is structured in a way that you can easily copy and paste the components you need into your Astro project.

Each component lives under it's own folder in this repository so that you can easily find the component you need.

This means that if you want a navbar, you can just go to the navbar folder and copy the Navbar.astro wherever you want in your Astro project.

Configuration

You can copy and paste the component you want and it will work out of the box, but you can also customize it to your needs two ways:

  1. Using Props: You can pass props to the component to customize it. For example, you can pass a title prop to the Header.astro component to change the title of the header.

  2. Modifying the component directly: You can also modify the component directly as you see fit and not use props. You can change the sample data or text in the component to your own.

Customize Styling

All the components use Tailwind CSS: You can also customize the components using Tailwind CSS. You can change the colors, sizes, and more by changing the classes in the component.


Frequently Asked Questions

  • Why?

Contributing

If you have any idea, suggestions or find any bugs, feel free to open a discussion, an issue or create a pull request. That would be very useful for all of us and we would be happy to listen and take action.

License

Astro Components is licensed under the MIT license โ€” see the LICENSE file for details.

astro-components's People

Contributors

dontic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.