Feed

The feed component is a ui element that displays a stream of content (static or dynamic), such as comments, activity updates, posts, in a chronological order.

  • user name

    Mary Jane created a new thread 3 hours ago

    We just released windUI v1.5, which includes a brand new component. An activity feed is a chronological record of system events or user actions. Have a look at the feed page and let me know what you think. Feedback is highly appreciated.

  • user name

    John langan 💚 liked the thread 2 hours ago

    • user name

      Mary Jane replied 2 hours ago

      Hey john! Did you had a look at the new component?

    • user name

      John langan replied 2 hours ago

      It looks awesome! Good one! The only thing that I would tweak is the spacing in smaller screens. Other than that it looks superb! Really loved the color as well.

    • user name

      Mary Jane replied 3 hours ago

      Thanks so much 🙏. Your feedback is highly appreciated.

  • user name

    Manos Gaitanakis commented 3 hours ago

    Love it! I really like how the nested feeds are working as well. Is that going to be multi-nested? Or maybe stay in just one level. Also any ides on how I can remove the time stamp from the feeds?

Variations

User feed

  • user name

    Mary Jane created a new thread 3 hours ago

    We just released windUI v1.5, which includes a brand new component. An activity feed is a chronological record of system events or user actions. Have a look at the feed page and let me know what you think. Feedback is highly appreciated.

  • user name

    John langan replied 2 hours ago

    It looks awesome! Good one! The only thing that I would tweak is the spacing in smaller screens. Other than that it looks superb! Really loved the color as well.

  • user name

    Mary Jane replied 3 hours ago

    Thanks so much 🙏. Your feedback is highly appreciated.

  • user name

    Manos Gaitanakis commented 3 hours ago

    Love it! I really like how the nested feeds are working as well. Is that going to be multi-nested? Or maybe stay in just one level. Also any ides on how I can remove the time stamp from the feeds?

copydone

User feed (sm)

  • user name

    Mary Jane created a new thread 3 hours ago

    We just released windUI v1.5, which includes a brand new component. An activity feed is a chronological record of system events or user actions. Have a look at the feed page and let me know what you think. Feedback is highly appreciated.

  • user name

    John langan replied 2 hours ago

    It looks awesome! Good one! The only thing that I would tweak is the spacing in smaller screens. Other than that it looks superb! Really loved the color as well.

  • user name

    Mary Jane replied 3 hours ago

    Thanks so much 🙏. Your feedback is highly appreciated.

  • user name

    Manos Gaitanakis commented 3 hours ago

    Love it! I really like how the nested feeds are working as well. Is that going to be multi-nested? Or maybe stay in just one level. Also any ides on how I can remove the time stamp from the feeds?

copydone

Nested user feed

  • user name

    Mary Jane created a new thread 3 hours ago

    We just released windUI v1.5, which includes a brand new component. An activity feed is a chronological record of system events or user actions. Have a look at the feed page and let me know what you think. Feedback is highly appreciated.

  • user name

    John langan 💚 liked the thread 2 hours ago

    • user name

      Mary Jane replied 2 hours ago

      Hey john! Did you had a look at the new component?

    • user name

      John langan replied 2 hours ago

      It looks awesome! Good one! The only thing that I would tweak is the spacing in smaller screens. Other than that it looks superb! Really loved the color as well.

    • user name

      Mary Jane replied 3 hours ago

      Thanks so much 🙏. Your feedback is highly appreciated.

  • user name

    Manos Gaitanakis commented 3 hours ago

    Love it! I really like how the nested feeds are working as well. Is that going to be multi-nested? Or maybe stay in just one level. Also any ides on how I can remove the time stamp from the feeds?

copydone

Nested user feed (sm)

  • user name

    Mary Jane created a new thread 3 hours ago

    We just released windUI v1.5, which includes a brand new component. An activity feed is a chronological record of system events or user actions. Have a look at the feed page and let me know what you think. Feedback is highly appreciated.

  • user name

    John langan 💚 liked the thread 2 hours ago

    • user name

      Mary Jane replied 2 hours ago

      Hey john! Did you had a look at the new component?

    • user name

      John langan replied 2 hours ago

      It looks awesome! Good one! The only thing that I would tweak is the spacing in smaller screens. Other than that it looks superb! Really loved the color as well.

    • user name

      Mary Jane replied 3 hours ago

      Thanks so much 🙏. Your feedback is highly appreciated.

  • user name

    Manos Gaitanakis commented 3 hours ago

    Love it! I really like how the nested feeds are working as well. Is that going to be multi-nested? Or maybe stay in just one level. Also any ides on how I can remove the time stamp from the feeds?

copydone

Activity feed

  • UI/UX project created

    13:12pm

  • Task list created for project

    13:31pm

  • Warning! Project name cannot be empty

    13:32pm

  • New user added

    13:56pm

  • Warning! Project is going to be expired

    13:32pm

  • Project deleted

    13:32pm

copydone

Activity feed (sm)

  • UI/UX project created

    13:12pm

  • Task list created for project

    13:31pm

  • Warning! Project name cannot be empty

    13:32pm

  • New user added

    13:56pm

  • Warning! Project is going to be expired

    13:32pm

  • Project deleted

    13:32pm

copydone

Activity feed with color status

  • UI/UX project created

    13:12pm

  • Task list created for project

    13:31pm

  • Warning! Project name cannot be empty

    13:32pm

  • New user added

    13:56pm

  • Warning! Project is going to be expired

    13:32pm

  • Project deleted

    13:32pm

copydone

Activity feed with color status (sm)

  • UI/UX project created

    13:12pm

  • Task list created for project

    13:31pm

  • Warning! Project name cannot be empty

    13:32pm

  • New user added

    13:56pm

  • Warning! Project is going to be expired

    13:32pm

  • Project deleted

    13:32pm

copydone

Changelog feed

  • v1.2.6 - 2023-02-08

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Update several dependencies, including postcss-js.

  • v1.2.5 - 2023-01-21

    Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss.

    • Remove outdated focus style fix in Preflight
    • Fix error when not using a config file with postcss
    • Fix issue with resolveConfig not being importable in Next.js
  • v1.2.4 - 2023-01-18

    Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the group className.

    • Added utilities for screenreader visibility
    • First, last, even, and odd child variants
    • Disabled variant
    • Visited variant
copydone

Changelog feed (sm)

  • v1.2.6 - 2023-02-08

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Update several dependencies, including postcss-js.

  • v1.2.5 - 2023-01-21

    Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss.

    • Remove outdated focus style fix in Preflight
    • Fix error when not using a config file with postcss
    • Fix issue with resolveConfig not being importable in Next.js
  • v1.2.4 - 2023-01-18

    Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the group className.

    • Added utilities for screenreader visibility
    • First, last, even, and odd child variants
    • Disabled variant
    • Visited variant
copydone

Changelog feed - alt version

  • v1.2.6 - 2023-01-21

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Update several dependencies, including postcss-js.

  • v1.2.5 - 2023-01-21

    Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss.

    • Remove outdated focus style fix in Preflight
    • Fix error when not using a config file with postcss
    • Fix issue with resolveConfig not being importable in Next.js
  • v1.2.4 - 2023-01-18

    Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the group className.

    • Added utilities for screenreader visibility
    • First, last, even, and odd child variants
    • Disabled variant
    • Visited variant
copydone

Changelog feed - alt version (sm)

  • v1.2.6 - 2023-01-21

    This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Update several dependencies, including postcss-js.

  • v1.2.5 - 2023-01-21

    Pass extended color palette to theme closures so it can be used without installing Tailwind when using npx tailwindcss.

    • Remove outdated focus style fix in Preflight
    • Fix error when not using a config file with postcss
    • Fix issue with resolveConfig not being importable in Next.js
  • v1.2.4 - 2023-01-18

    Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the group className.

    • Added utilities for screenreader visibility
    • First, last, even, and odd child variants
    • Disabled variant
    • Visited variant
copydone

Usage

Use the feed component to:

  • Display a stream of content in chronological order, allowing users to scroll through updates, user messages, or activities easily.
  • Social media platforms, news websites, e-commerce sites, and other applications that require presenting dynamic and frequently updated content to users.
  • To provide users with relevant and up-to-date information in a visually appealing and easy-to-read format

Specs

The feed UI component comes in 3 variations (user feed, activity feed and changelog) and 2 sizes (base and sm). All variations are implemented using the <ul> and <li> HTML tags and they can consist of the following elements:

  • Header: with font size of 1.125rem (18px) for the user and the changelog feed (1rem for sm size) and 1rem (16px) for the activity feed (0.875rem for sm size).
  • Text: with font size of 1rem (16px) for the user and the changelog feed (0.875rem for sm size) and 0.875rem (14px) for the activity feed (0.75rem for sm size).
  • Icon: 1.25rem (30px) width and height (1rem for the sm size).
  • User avatar: 2rem(32px) width and height (1.5rem for the sm size).

Accessibility notes

When using the feed component, the proper accessibility roles to use depend on the type of content being displayed and the specific functionality of the component:

  • role="feed" : This role should be used on the container element for the feed to indicate that it contains a list of dynamic content items.
  • role="article" : This role should be used on individual content items within the feed to indicate that they are standalone items of content.
  • aria-label : specifies the label for the feed.
  • aria-busy : When busy, such as when comments are being added or removed from the feed, set aria-busy="true" during the update operation. Make sure it's reset to false when the operation is complete or the changes may not become visible.