Ant Design and Tailwind CSS - Vocabulary Flashcards

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key concepts from Ant Design, Tailwind CSS, and React state handling in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

Ant Design

A UI library of React components used to build interactive user interfaces with ready-to-use elements.

2
New cards

UI library

A collection of prebuilt UI components that can be imported and used in applications to speed up development.

3
New cards

Card Component (Ant Design)

A UI container for content that can include headers, actions, and subcomponents like Meta and Grid.

4
New cards

Card.Meta

A subcomponent of Card for displaying flexible content such as title, description, and avatar.

5
New cards

Card.Grid

A grid subcomponent within a Card to arrange multiple items in a grid layout.

6
New cards

Cover (Card)

An option to display a cover image inside a Card using the cover prop.

7
New cards

CardLayout

A custom component example name used to demonstrate pasting Card code into a React component.

8
New cards

Public folder

The folder in a React app where static assets like images are stored for reference.

9
New cards

Tailwind CSS

A utility-first CSS framework that provides predefined classes to build UI quickly and consistently.

10
New cards

Utility-first CSS

An approach where small, single-purpose classes are composed to style elements rather than writing custom CSS.

11
New cards

Tailwind installation

Process of installing Tailwind via npm and creating a tailwind.config.js in the project.

12
New cards

tailwind.config.js

The configuration file for Tailwind where content paths and theming options are defined.

13
New cards

content (Tailwind)

A config property listing file paths to scan for class usage to purge unused styles.

14
New cards

Tailwind directives

CSS directives used to inject Tailwind styles:

@tailwind base;

@tailwind components;

@tailwind utilities;

15
New cards

@tailwind utilities

Directive that injects Tailwind's utility classes into your CSS.

16
New cards

Tailwind classes

Predefined utility classes (e.g., flex, justify-center, m-2) used to style elements.

17
New cards

flex

Tailwind utility to control how flex items grow or shrink within a flex container.

18
New cards

flex-wrap

Tailwind utility that allows flex items to wrap onto multiple lines.

19
New cards

justify-center

Tailwind utility that centers items along the main axis in a flex container.

20
New cards

Synthetic Events

A cross-browser wrapper around native events that provides a consistent API across browsers.

21
New cards

onChange

A synthetic event handler triggered when the value of an input changes.

22
New cards

useState

A React hook that adds state to functional components by returning a state value and a setter function.

23
New cards

import useState syntax

import { useState } from ‘react’;

24
New cards

use useState syntax

const [getCurrentState, setUpdateState] = useState()

25
New cards

Requirement when using Synthetic Events

Create a function first and cal the function inside the synthethic events attribute.

() = > {
}